1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 23:58:52 -05:00

Oops. didn't get the DOMAIN slight change last time. Here it is now.

This commit is contained in:
RichardHitt 2013-01-15 13:26:11 -08:00
parent bb617ccacd
commit 7bc0e017f6

View File

@ -333,7 +333,7 @@ do_an_re(const char *word,int *start, int *end, int *type)
}
/* Miscellaneous description --- */
#define DOMAIN "[-a-z0-9]+(\\.[-a-z0-9]+)*\\."
#define DOMAIN "[a-z0-9][-a-z0-9]*(\\.[-a-z0-9]+)*\\."
#define TLD "[a-z][-a-z0-9]*[a-z]"
#define IPADDR "[0-9]+(\\.[0-9]+){3}"
#define HOST "(" DOMAIN TLD "|" IPADDR ")"