Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
Andreas Schwab wrote:
> a g <address@hidden> 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
[Prev in Thread]
Current Thread
[Next in Thread]
bug#5970: regex won't do lazy matching,
Linda Walsh<=