mirror of https://github.com/garabik/grc.git
Merge pull request #184 from feriman/fix-ipv6-parsing
IPv6 address consists of hexadecimal digits, so "\d" is unsuitable here.
This commit is contained in:
commit
c367041dcc
|
@ -58,7 +58,7 @@ colours=bold yellow
|
|||
count=more
|
||||
======
|
||||
# IPv6
|
||||
regexp=\d(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
|
||||
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
|
||||
colours=bold yellow
|
||||
=======
|
||||
# Email address
|
||||
|
|
Loading…
Reference in New Issue