conf: fix ipv6 regex patterns, take three
This extends the pattern by an alternative where there are no double colons. This is for instance the case for and IPv6 address of the form 1111:222:33:4:55:666:7777:888 Michael
This commit is contained in:
parent
4292fe7795
commit
60d738626b
@ -61,6 +61,7 @@
|
||||
"(([0-9a-f]{1,4}:){1,6}(:[0-9a-f]{1,4}){1,1})|" \
|
||||
"((([0-9a-f]{1,4}:){1,7}|:):)|" \
|
||||
"(:(:[0-9a-f]{1,4}){1,7})|" \
|
||||
"([0-9a-f]{1,4}(:[0-9a-f]{1,4}){1,7})|" \
|
||||
"(((([0-9a-f]{1,4}:){6})(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}))|" \
|
||||
"((([0-9a-f]{1,4}:){5}[0-9a-f]{1,4}:(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}))|" \
|
||||
"(([0-9a-f]{1,4}:){5}:[0-9a-f]{1,4}:(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3})|" \
|
||||
|
Loading…
Reference in New Issue
Block a user