]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Remove redundant backslashes from regexps.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 11 Apr 2024 18:27:34 +0000 (11:27 -0700)
committerBruno Haible <bruno@clisp.org>
Thu, 11 Apr 2024 18:48:28 +0000 (20:48 +0200)
commit3bb200bba143ca21eda2f6f7415f3778c54f9cc9
tree2fddd86dd92087c92c9c941397f003e369c0283c
parent75861de277fcc1379fd413a97cd0f2628c48275c
gnulib-tool.py: Remove redundant backslashes from regexps.

* pygnulib/GLTestDir.py (GLTestDir.execute): Don't backslash ']' when it
is outside of a set.
* pygnulib/GLImport.py (GLImport.__init__): Don't use a backslash when
']' is at the start of a '[...]' set. Don't backslash special characters
in a '[...]' set since they have their meaning dropped.
* pygnulib/main.py (main): Likewise.
ChangeLog
pygnulib/GLImport.py
pygnulib/GLTestDir.py
pygnulib/main.py