[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] tests: add testcase for previous fix
From: |
Paul Eggert |
Subject: |
Re: [PATCH 2/2] tests: add testcase for previous fix |
Date: |
Thu, 23 Sep 2010 09:19:26 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 |
On 09/23/10 04:52, Paolo Bonzini wrote:
> Or better, we're at glibc's mercy:
>
> $ LC_ALL=cs_CZ.UTF-8 devel/grep/+build/src/grep -E '[A-Z]' in
> 00a
> 00g
> 00A
> 00G
> 00Z
>
> Yay for yet another definition of range expressions.
Can we fix things so that we're not at glibc's mercy, even there?
We could preprocess the regular expression [A-Z], and turn it into
[ABCDEFGHIJKLMNOPQRSTUVWXYZ], before we hand it off to glibc.
POSIX would allow this behavior, and users would prefer it.
This could be done in a gnulib module, so that other GNU programs
could also use the fix.
- [PATCH 0/2] process range expressions consistently with system regex, Paolo Bonzini, 2010/09/21
- [PATCH 1/2] dfa: process range expressions consistently with system regex, Paolo Bonzini, 2010/09/21
- [PATCH 2/2] tests: add testcase for previous fix, Paolo Bonzini, 2010/09/21
- Re: [PATCH 2/2] tests: add testcase for previous fix, Jim Meyering, 2010/09/23
- Re: [PATCH 2/2] tests: add testcase for previous fix, Paolo Bonzini, 2010/09/23
- Re: [PATCH 2/2] tests: add testcase for previous fix, Jim Meyering, 2010/09/23
- Re: [PATCH 2/2] tests: add testcase for previous fix,
Paul Eggert <=
- Re: [PATCH 2/2] tests: add testcase for previous fix, Paolo Bonzini, 2010/09/23
- Re: character ranges in regular expressions, Bruno Haible, 2010/09/23
- Re: character ranges in regular expressions, Paolo Bonzini, 2010/09/24
- Re: character ranges in regular expressions, Bruno Haible, 2010/09/24
- Re: character ranges in regular expressions, Paolo Bonzini, 2010/09/24
- Re: character ranges in regular expressions, Bruno Haible, 2010/09/24
- Re: character ranges in regular expressions, Paul Eggert, 2010/09/24
- Re: character ranges in regular expressions, Eric Blake, 2010/09/24