summaryrefslogtreecommitdiff
path: root/share/mutt-wizard.muttrc
diff options
context:
space:
mode:
Diffstat (limited to 'share/mutt-wizard.muttrc')
-rw-r--r--share/mutt-wizard.muttrc7
1 files changed, 3 insertions, 4 deletions
diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc
index c03a596..df5d6f0 100644
--- a/share/mutt-wizard.muttrc
+++ b/share/mutt-wizard.muttrc
@@ -298,18 +298,17 @@ color body red default "([a-z][a-z0-9+-]*://(
color body brightred default "(mailto)?:?[ ]?[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+"
# phone numbers
-color body green default "(\\+[0-9]+([ _.!~*'();:&=+$,-])?)?[\(]?(\\+[0-9]{1,2})?[\) -]?[ ]*[\(]?([0-9]{3})[\)]?[- ]?[0-9]{3,4}[- ]?[0-9]{4}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
+color body green default "(( |^)|^0-9)(\\+[0-9]+([ _.!~*'();:&=+$,-])?)?[\(]?(\\+[0-9]{1,2})?[\) -]?[ ]*[\(]?([0-9]{3})[\)]?[- ]?[0-9]{3,4}[- ]?[0-9]{4}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
# passcode
color body brightgreen default "(([^0-9]|[a-zA-Z]{2})|^)[0-9]{6}([^0-9a-zA-Z]|$)"
# tracking numer
color body brightgreen default "[A-Za-z]{2}[0-9]{7}[A-Za-z]{2}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
-color body brightgreen default "[0-9]{20,22}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
+color body brightgreen default "(( |^)|^0-9)[0-9]{20,22}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
color body brightgreen default "1Z[0-9A-Za-z]{16}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
-color body brightgreen default "(TBA|[a-zA-Z])?[0-9]{12}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
+color body brightgreen default "((( |^)|^0-9)|(TBA|[a-zA-Z]))[0-9]{12}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
color body brightgreen default "JD[0-9]{10,39}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
-color body brightgreen default "[0-9]{12}([a-zA-Z \.!~*'();:&=+$\,-]|$)"
# unsubscribe
color body brightred default "unsubscribe"