conf: remove bogus support for hex literals
the INT regex macro supported a 0x prefix (used e.g. for port numbers), however following that, only digits were accepted, and not the full range of hexdigits. it's unlikely this was used, so remove it. note that the () expression is kept, so we don't have to adjust match number indices all over the place.
This commit is contained in:
parent
35c8edcf73
commit
4f1a1663ff
@ -52,7 +52,7 @@
|
|||||||
#define WS "[[:space:]]+"
|
#define WS "[[:space:]]+"
|
||||||
#define STR "\"([^\"]+)\""
|
#define STR "\"([^\"]+)\""
|
||||||
#define BOOL "(yes|on|no|off)"
|
#define BOOL "(yes|on|no|off)"
|
||||||
#define INT "((0x)?[[:digit:]]+)"
|
#define INT "(()[[:digit:]]+)"
|
||||||
#define ALNUM "([-a-z0-9._]+)"
|
#define ALNUM "([-a-z0-9._]+)"
|
||||||
#define USERNAME "([^:]*)"
|
#define USERNAME "([^:]*)"
|
||||||
#define PASSWORD "([^@]*)"
|
#define PASSWORD "([^@]*)"
|
||||||
|
Loading…
Reference in New Issue
Block a user