diff options
author | Bruno Haible <bruno@clisp.org> | 2022-08-07 13:40:07 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-08-07 23:04:09 +0200 |
commit | 9d722ddced2e46a06255be8eb24a54015f611af7 (patch) | |
tree | 3d81da7902564dfd37ca9d879a17b2f686be0c90 /ChangeLog | |
parent | 54bf87fe01941049356177a1902bdf1a3eb49f7f (diff) | |
download | gnulib-9d722ddced2e46a06255be8eb24a54015f611af7.tar.gz |
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
and flag re.M is not specified).
* pygnulib/GLModuleSystem.py: Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,12 @@ 2022-08-07 Bruno Haible <bruno@clisp.org> 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 + and flag re.M is not specified). + * pygnulib/GLModuleSystem.py: Likewise. + + gnulib-tool.py: Make regex uses more straightforward. * pygnulib/GLModuleSystem.py: Don't use flag re.S on regular expressions that are meant to match a single line only, and remove the use of the "minimal matching" *? construct whose only purpose was to neutralize the |