GNU regcomp(3), regexec(3): '\w'

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Sun Jan 4 19:11:00 UTC 2004


On Sun, Jan 04, 2004 at 12:19:22PM -0500, Ian Goldberg wrote:
> On Fri, Jan 02, 2004 at 04:24:10PM -0500, William Park wrote:
> > $ cc test.c -o test
> > $ ./test
> > -- test={abc_123}, match={abc_}
> > 
> > What I expected is
> > -- test={abc_123}, match={abc_123}
> 
> What are your various LOCALE settings?  This seems like just the kind of
> problem that an incorrect setting would cause.

$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

-- 
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Linux solution for data management and processing. 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list