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.