extend SHA length to 128 digits

This commit is contained in:
Jorge Morante 2020-03-06 08:45:02 +01:00
parent d722ec7b3a
commit 9f265bc5da
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ will be copied to the clipboard. Less keystrokes == profit!
Here is a list of the stuff highlighted by default.
* File paths
* git SHAs
* SHAs
* numbers ( 4+ digits )
* hex numbers
* IP addresses

View File

@ -85,7 +85,7 @@ PATTERNS_LIST=(
"((^|^\.|[[:space:]]|[[:space:]]\.|[[:space:]]\.\.|^\.\.)[[:alnum:]~_-]*/[][[:alnum:]_.#$%&+=/@-]+)"
"([[:digit:]]{4,})"
"([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})"
"([0-9a-f]{7,40})"
"([0-9a-f]{7,128})"
"((https?://|git@|git://|ssh://|ftp://|file:///)[[:alnum:]?=%/_.:,;~@!#$&()*+-]*)"
"([[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3})"
"(0x[0-9a-fA-F]+)"