extend SHA length to 128 digits
This commit is contained in:
parent
d722ec7b3a
commit
9f265bc5da
|
@ -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
|
||||
|
|
|
@ -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]+)"
|
||||
|
|
Loading…
Reference in New Issue