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

Ian Goldberg linux-cOjNTMaGA5U at public.gmane.org
Sun Jan 4 17:19:22 UTC 2004


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.

   - Ian
--
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