Re: [PATCH 1/2] dfa: process range expressions consistently with system regex

2010-09-22 Thread Paolo Bonzini
On 09/21/2010 05:36 PM, Paolo Bonzini wrote: * src/dfa.c (in_coll_range): Use system regex to find which single-char bytes match a range expression. Gah, wrong changelog. Will fix. Paolo

[PATCH 1/2] dfa: process range expressions consistently with system regex

2010-09-21 Thread Paolo Bonzini
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

[PATCH 1/2] dfa: process range expressions consistently with system regex

2010-09-21 Thread Paolo Bonzini
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