diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-05 10:55:05 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-05 10:55:05 +0000 |
commit | 18a4dbf5b45434b7b4b21d7d83083f7575e9f3dd (patch) | |
tree | fb7b04d3e1d00962e71aafa5bd0b817c933a19c6 /Build/source/texk/web2c/tests | |
parent | dc2db841e0810e70587124391cdb95c0560af6d6 (diff) |
[WEB] Restore @x comments with square brackets.
The initial regex was too gready.
git-svn-id: svn://tug.org/texlive/trunk@71440 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/tests')
-rwxr-xr-x | Build/source/texk/web2c/tests/fix-changefile-lines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/tests/fix-changefile-lines.py b/Build/source/texk/web2c/tests/fix-changefile-lines.py index 19b8c32233d..92b52c5c441 100755 --- a/Build/source/texk/web2c/tests/fix-changefile-lines.py +++ b/Build/source/texk/web2c/tests/fix-changefile-lines.py @@ -158,7 +158,7 @@ class ChangeReader: text = self._lines[self._chunk_start][2:].strip() # Remove potentially leading [part.section] tag. - pattern = "\\[.*\\]" + pattern = "\\[\\d+(\\.\\d+)?\\]" if re.match(pattern, text): text = re.sub(pattern, "", text).strip() |