[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex and case-fold-search problem
From: |
Andreas Schwab |
Subject: |
Re: regex and case-fold-search problem |
Date: |
Sat, 24 Aug 2002 18:16:25 +0200 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (ia64-suse-linux) |
Miles Bader <address@hidden> writes:
|> On Sat, Aug 24, 2002 at 09:51:46AM +0900, Kenichi Handa wrote:
|> > I mean that the concept of character range itself is not good. A character
|> > code is just an identifier of a character. We usually don't think about "a
|> > range of identifiers" (e.g. "symbols in the range between t and nil" is
|> > nonsense).
|>
|> Yeah, but character ranges make perfect sense in many local contexts.
|> E.g., [0-9], or [<0>-<9>] where <0> and <9> are `wide' digits from some
|> character set.
What does [A-Z] mean in EBCDIC? [0-9] is a special case, because ISO C
requires that 0,1,2,3,4,5,6,7,8,9 are consecutive in the execution
character set. But in many locales the collating sequence <A> - <Z>
contains more that just the upper case letters from the English alphabet.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- regex and case-fold-search problem, Kenichi Handa, 2002/08/23
- Re: regex and case-fold-search problem, Eli Zaretskii, 2002/08/24
- Re: regex and case-fold-search problem, Kenichi Handa, 2002/08/25
- Re: regex and case-fold-search problem, Miles Bader, 2002/08/25
- Re: regex and case-fold-search problem, Kim F. Storm, 2002/08/25
Re: regex and case-fold-search problem, Stefan Monnier, 2002/08/23