[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex and case-fold-search problem
From: |
Miles Bader |
Subject: |
Re: regex and case-fold-search problem |
Date: |
Fri, 23 Aug 2002 21:03:07 -0400 |
User-agent: |
Mutt/1.3.28i |
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.
I think that in cases where the notion of a character range _does_ make
sense, that either both ends will be downcase-able, or that both will not, so
that perhaps the problem won't actually show up in practice if we just say
`only use character ranges when they make sense!'
-Miles
--
P.S. All information contained in the above letter is false,
for reasons of military security.
- 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