1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-10 11:25:08 -05:00

Added support for passwords in userinfo of urls.

This commit is contained in:
Diogo Sousa 2013-06-16 20:00:35 +01:00
parent 2870586cf9
commit 32dee82c58

View File

@ -396,7 +396,7 @@ re_host (void)
"(" NOPARENS ")" \ "(" NOPARENS ")" \
")*" /* Zero or more occurrences of either of these */ \ ")*" /* Zero or more occurrences of either of these */ \
"(?<![.,?!\\]])" /* Not allowed to end with these */ "(?<![.,?!\\]])" /* Not allowed to end with these */
#define USERINFO "([-a-z0-9._~%]+@)" #define USERINFO "([-a-z0-9._~%]+(:[-a-z0-9._~%]*)?@)"
/* Flags used to describe URIs (RFC 3986) /* Flags used to describe URIs (RFC 3986)
* *