This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: regexec calls with REG_STARTEND find ghost matches for \>



Op 25-06-17 om 18:30 schreef Florian Weimer:
On 01/15/2017 08:29 PM, Benno Schulenberg wrote:
When calling regexec with the REG_STARTEND flag and providing
an end-of-range value in .rm_eo that points to somewhere in
the middle of a word, regexec will nevertheless find a match
for \> at that offset.  The corresponding case for \<, with a
start-of-range value in .rm_so that points to the middle of a
word, will /not/ find a match for \< there.  The latter is
what I expected, the former was a surprise.

I agree that this looks like a bug.  Would you please file it in
Bugzilla?  Thanks.

Bug has been reported:

    https://sourceware.org/bugzilla/show_bug.cgi?id=21673

Benno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]