[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: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 <=