diff options
author | Bruno Haible <bruno@clisp.org> | 2022-08-07 13:46:15 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-08-07 23:04:11 +0200 |
commit | 5c087011efa2817a7e857f69a1cdd22c21a5053d (patch) | |
tree | 552d99091fbdeda40756c360ae70eac81da9f7bf /ChangeLog | |
parent | 9d722ddced2e46a06255be8eb24a54015f611af7 (diff) | |
download | gnulib-5c087011efa2817a7e857f69a1cdd22c21a5053d.tar.gz |
gnulib-tool.py: Fix some regex uses.
* pygnulib/GLModuleSystem.py (GLModuleTable.transitive_closure): Match
the regex against all lines of the snippet, not only the first line.
* pygnulib/GLEmiter.py (GLEmiter.autoconfSnippet): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2022-08-07 Bruno Haible <bruno@clisp.org> + gnulib-tool.py: Fix some regex uses. + * pygnulib/GLModuleSystem.py (GLModuleTable.transitive_closure): Match + the regex against all lines of the snippet, not only the first line. + * pygnulib/GLEmiter.py (GLEmiter.autoconfSnippet): Likewise. + gnulib-tool.py: Make regex uses more straightforward. * pygnulib/constants.py: Don't use the "minimal matching" *? construct when it makes no difference (because we're matching a single line only |