diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2010-09-21 17:00:55 +0200 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2010-09-23 13:54:03 +0200 |
commit | 99d3c7e1308beb1ce9a3c535ca4b6581ebd653ee (patch) | |
tree | 07788f89f55b01a8024a054045c5f7f187c7ee1a /NEWS | |
parent | 0fdedfb32dda12320e10df7973b9f5e72d2ac66b (diff) | |
download | grep-99d3c7e1308beb1ce9a3c535ca4b6581ebd653ee.tar.gz |
dfa: process range expressions consistently with system regex
The actual meaning of range expressions in glibc is not exactly strcoll,
which makes the behavior of grep hard to predict when compiled with the
system regex. Leave to the system regex matcher the decision of which
single-byte characters are matched by a range expression.
This partially reverts a change made in commit 0d38a8bb (which made
sense at the time, but not now that src/dfa.c is not doing multibyte
character set matching anymore).
* src/dfa.c (in_coll_range): Remove.
(parse_bracket_exp): Use system regex to find which single-char
bytes match a range expression.
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 + + grep's interpretation of range expression is now more consistent with + that of other tools. [bug present since multi-byte character set + support was introduced in 2.5.2, though the steps needed to reproduce + it changed in grep-2.6] * Noteworthy changes in release 2.7 (2010-09-16) [stable] |