syntaxes: remove several redundant end-of-line anchors from regexes

This commit is contained in:
Benno Schulenberg
2018-11-03 21:12:44 +01:00
parent af71d44e4e
commit 636e9ac3e8
17 changed files with 30 additions and 30 deletions

View File

@@ -26,7 +26,7 @@ color brightmagenta "\<(False|None|True)\>"
color brightgreen "'([^'\]|\\.)+'"
color brightgreen ""([^"\]|\\.)+""
# Comments.
color brightred "(^|[[:blank:]])#.*$"
color brightred "(^|[[:blank:]])#.*"
# Triple-quoted strings.
color brightgreen start="'''([^'),]|$)" end="(^|[^(\])'''"
color brightgreen start="\"\"\"([^"),]|$)" end="(^|[^(\])\"\"\""