Add pattern for hex colors

This commit is contained in:
Gabo 2020-06-23 17:09:57 -05:00
parent 50053383e0
commit 5147b5a8ad

View file

@ -3,3 +3,5 @@ https?:\S*
([A-Za-z])\1{3,} ([A-Za-z])\1{3,}
# Any CLI args (-xzf -aef) # Any CLI args (-xzf -aef)
\ -\w+\b \ -\w+\b
# Hex colors (dummy group to not be treated as comment)
(#)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})