Look-behind proposal in trouble
Erik Corry
erik.corry at gmail.com
Tue Oct 13 09:18:48 UTC 2015
Yes, that makes sense.
This could be fixed by removing {n} loops from positive lookbehinds. Or by
doing the .NET-style back-references immediately.
On Mon, Oct 12, 2015 at 10:01 PM, Waldemar Horwat <waldemar at google.com>
wrote:
> On 10/10/2015 03:48, Erik Corry wrote:
>
>>
>>
>> On Sat, Oct 10, 2015 at 12:47 AM, Waldemar Horwat <waldemar at google.com
>> <mailto:waldemar at google.com>> wrote:
>>
>> It's not a superset. Captures would match differently.
>>
>>
>> Can you elaborate? How would they be different?
>>
>
> If you have a capture inside a loop (controlled, say, by {n}), one of the
> proposals would capture the first instance, while the other proposal would
> capture the last instance.
>
> Waldemar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20151013/70ba6f04/attachment.html>
More information about the es-discuss
mailing list