Look-behind proposal in trouble

Waldemar Horwat waldemar at google.com
Mon Oct 12 20:01:12 UTC 2015


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



More information about the es-discuss mailing list