Andreas Schwab wrote:
> a g <mewa...@gmail.com> writes:
> 
>>   regex_test "a[^x]*?a" "a1a2a"
> 
> <http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04_06>:
> 
>  9.4.6 EREs Matching Multiple Characters
>    [...]
>    The behavior of multiple adjacent duplication symbols ('+', '*', '?',
>    and intervals) produces undefined results.
> 
> Andreas.
---

Sorry, late to conversation, but reading email.

There was a time in QA that "undefined results" and bug was synonymous.

That a spec would say that is lame.

Personally, I think if it isn't compatible with the Perl Regex, it's
a bug, but that's purely informed personal bias.  :-)

-l




Reply via email to