bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: character ranges in regular expressions


From: Paul Eggert
Subject: Re: character ranges in regular expressions
Date: Fri, 24 Sep 2010 15:11:25 -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/24/10 14:52, Bruno Haible wrote:
> For other people, the locale dependent behaviour is useful, that is, 51 is 
> desired.

I'm skeptical.  In my experience, it is universally considered a misfeature
that in some implementations and locales, [A-Z] matches some (but not all!)
lower case characters.  As I understand it, Emacs long ago decided to have
[A-Z] match just the ASCII upper case characters, regardless of locale.
It'd be nice if gnulib-using programs could do likewise.  Preferably on
all platforms, not just glibc; but even if we could get it working only
on glibc that'd be a win.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]