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:
Radovan Garabík 2021-07-05 16:58:08 +02:00 committed by GitHub
commit c367041dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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