[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5970: regex won't do lazy matching

From: Linda Walsh
Subject: bug#5970: regex won't do lazy matching
Date: Sun, 02 May 2010 23:21:17 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20100228 Lightning/0.9 Thunderbird/ Mnenhy/

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.  :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]