diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-12-05 14:16:45 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-12-05 14:17:29 -0800 |
commit | b061d24916fb9a14da37a3f2a05cb80dc65cfd38 (patch) | |
tree | 6e1d5e20d8fecc71212dd069fd5f0a0eb2ef7f56 /NEWS | |
parent | 429b3497d18814557195b83008700d0893a3b342 (diff) | |
download | grep-b061d24916fb9a14da37a3f2a05cb80dc65cfd38.tar.gz |
grep: bug: backref in last of multiple patterns
* NEWS: Mention this.
* src/dfasearch.c (GEAcompile): Trim trailing newline from
the last pattern, even if it has back-references and follows
a pattern that lacks back-references.
* tests/backref: Add test for this bug.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,12 @@ GNU grep NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Bug fixes + + When given multiple patterns the last of which has a back-reference, + grep no longer sometimes mistakenly matches lines in some cases. + [Bug#36148#13 introduced in grep 3.4] + * Noteworthy changes in release 3.8 (2022-09-02) [stable] |