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

Andrej Marjan amarjan-e+AXbWqSrlAAvxtiuMwx3w at public.gmane.org
Mon Jan 5 19:33:35 UTC 2004


On Fri, Jan 02, 2004 at 04:24:10PM -0500, William Park wrote:
> On Fri, Jan 02, 2004 at 08:03:17PM +0200, Peter L. Peres wrote:

> > Can you post an example (short) so we can compile and test whether it
> > works here ?


> $ cc test.c -o test
> $ ./test
> -- test={abc_123}, match={abc_}

> What I expected is
> -- test={abc_123}, match={abc_123}

Works fine under Debian unstable, 3.3.3 prerelease, glibc 2.3.2.

(Specifically gcc version 3.3.3 20031229 (prerelease) (Debian))

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