Adding possibility to specify empty passwords

This commit is contained in:
Vasily 2018-10-26 13:06:16 +03:00
parent 34165fd351
commit efde2796a0

View File

@ -52,7 +52,7 @@
#define BOOL "(yes|on|no|off)"
#define INT "((0x)?[[:digit:]]+)"
#define ALNUM "([-a-z0-9._]+)"
#define PASSWORD "([^:@]+)"
#define PASSWORD "([^:@]*)"
#define IP "((([0-9]{1,3})\\.){3}[0-9]{1,3})"
#define IPMASK "(" IP "(/[[:digit:]]+)?)"
#define IPV6 "(" \