##// END OF EJS Templates
match: remove unnecessary '^' from regexes...
match: remove unnecessary '^' from regexes The regexes are passed to re.match(), which matches against the beginning of the input, so the '^' doesn't do anything. Note that unrooted patterns, such as globs and regexes from .hgignore are instead achieved by adding '.*' to the expression given by the user. (That's unless the user's expression started with '^', in which case the '.*' is not added, perhaps to keep the regex cleaner?)

File last commit:

r28809:7a1ad08b default
r33357:a21819f4 default
Show More
test-gendoc-zh_TW.t
4 lines | 87 B | text/troff | Tads3Lexer
#require docutils gettext
$ $TESTDIR/check-gendoc zh_TW
checking for parse errors