Mercurial > iscconf
changeset 18:64a3c09aa7a0
Allow single digit network masks in CIDR4
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Tue, 31 Jul 2012 16:37:36 +0200 |
| parents | 205f93fa08a4 |
| children | 31c52a207eca |
| files | iscconf/parser.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/iscconf/parser.py Tue Jul 31 16:35:19 2012 +0200 +++ b/iscconf/parser.py Tue Jul 31 16:37:36 2012 +0200 @@ -16,7 +16,7 @@ t_BRACE_CLOSE = r'}' t_SEMICOLON = ';' t_COMMA = ',' -t_CIDR4 = r'([0-2]?[0-9]?[0-9][.]){3}[0-2]?[0-9]?[0-9]/[0-3][0-9]' +t_CIDR4 = r'([0-2]?[0-9]?[0-9][.]){3}[0-2]?[0-9]?[0-9]/[0-3]?[0-9]' t_ignore_COMMENT = r'[#][^\n]*'
