Regexp capturing groups.
waldemar at google.com
Mon Sep 22 15:32:20 PDT 2008
Brendan Eich wrote:
> Good point -- could you please file a separate ticket and cite it
> here in reply? Thanks,
I filed a ticket to fix this bug in Chrome.
> On Sep 15, 2008, at 7:51 PM, Markus Jarderot wrote:
>> Brendan Eich wrote:
>>> Steven did file
>>> I'll champion fixing this, somehow, in Harmony. We should get
>>> Waldemar's opinion on it.
>> #376 seems to only concern the issue of back-references to
>> non-participating capture-groups.
>> What I described was back-references to capture-groups within a
>> repetition. As the algorithm in the ECMA-262v3 is currently
>> written, any
>> captures from the last iteration should be discarded.
>> #376 mentions it, but also says that this deserves a separate
>> ticket. I
>> have not found any ticket on this specific issue.
>> I have recently found that also Google Chrome keeps the captures
>> Firefox 3.0.1:
>> "ababa,a," <-- no "b"
>> Internet Explorer 7.0.5730.11 and Google Chrome 0.2.149.29:
>> "ababa,a,b" <-- "b" in the end
>> Markus Jarderot
>> Es-discuss mailing list
>> Es-discuss at mozilla.org
> Es-discuss mailing list
> Es-discuss at mozilla.org
More information about the Es-discuss