syntax: po: colorize numbers only when they form a self-contained word
parent
a578d2706c
commit
3b8847f319
|
@ -12,7 +12,7 @@ color brightmagenta "\<(Project\-Id\-Version|Report\-Msgid\-Bugs\-To|Last\-Trans
|
||||||
color cyan "\<(POT\-Creation\-Date|PO\-Revision\-Date|MIME\-Version|Content\-Type|Content\-Transfer\-Encoding)\>"
|
color cyan "\<(POT\-Creation\-Date|PO\-Revision\-Date|MIME\-Version|Content\-Type|Content\-Transfer\-Encoding)\>"
|
||||||
# Encodings and numbers.
|
# Encodings and numbers.
|
||||||
color yellow "\<(UTF|ISO|Windows|Mac|IBM)-[0-9]+"
|
color yellow "\<(UTF|ISO|Windows|Mac|IBM)-[0-9]+"
|
||||||
color yellow "[0-9]|pre[0-9]|[0-9]bit"
|
color yellow "\<((pre|rc)?[0-9]+|[0-9]bit)\>"
|
||||||
# Msgids.
|
# Msgids.
|
||||||
color brightblue "^(msgid|msgid_plural|msgstr)\>"
|
color brightblue "^(msgid|msgid_plural|msgstr)\>"
|
||||||
# Tags.
|
# Tags.
|
||||||
|
|
Loading…
Reference in New Issue