[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: character ranges in regular expressions
From: |
Paolo Bonzini |
Subject: |
Re: character ranges in regular expressions |
Date: |
Fri, 24 Sep 2010 07:50:08 +0200 |
On Thu, Sep 23, 2010 at 23:55, Bruno Haible <address@hidden> wrote:
> In regcomp.c and regexec.c the _NL_COLLATE_COLLSEQWC field of the LC_COLLATE
> part of the locale is encoded in this way. In
> glibc/locale/programs/ld-collate.c
> this field is being constructed from a table called 'collate->wcseqorder'.
> The role of this table is to be used in regular expression matching and
> wildcard matching. The table is derived from (but does not represent the
> entire information from) the LC_COLLATE portion of the locale input file.
Yes, this is what I'm curious about. Why does the table have the
order A..Za..z for en_US.UTF-8 and aAbB...yYzZ for cs_CZ.UTF-8, even
though strcoll uses the latter in both locales?
Paolo
- [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, 2010/09/23
- 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 <=
- 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