IPv6 address conists of hexadecimal digits, so "\d" is unsuitable here.

This commit is contained in:
Vitaliy Perekhovy 2021-06-11 14:51:07 +03:00
parent 06afa277e0
commit ae9cecb66c
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