From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809 Description of problem: re_match doesn't seem to return the offset of the match from start, but from the start of the entire string, which it did in rhl 7.3, and which also is the documented behavior in regex.h Version-Release number of selected component (if applicable): How reproducible: Always I'll attach a test case.
Created attachment 76787 [details] Test case to show that re_match doesn't work correctly
This has been fixed already. See http://sources.redhat.com/ml/libc-hacker/2002-08/msg00152.html You need glibc >= 2.2.90-27. *** This bug has been marked as a duplicate of 72312 ***
Oh, I didn't find the bug when I searched. Thanks for the quick answer and great work!