Re: Re: Backward running version look-behinds

2015-12-11 Thread Yang Guo
Can we move this to stage 2? - We have a spec draft: claudepache.github.io/ecma262/#sec-pattern, claudepache.github.io/ecma262/#sec-pattern - We have champions: Gorkem Yakin, Nozomu Katō and Brian Terlson - I'm pretty sure this is going to be part of the standard according to the last TC39

RE: Re: Backward running version look-behinds

2015-12-11 Thread Domenic Denicola
From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of Yang Guo > - We have a spec draft: http://claudepache.github.io/ecma262/#sec-pattern, > http://claudepache.github.io/ecma262/#sec-pattern > - We have champions: Gorkem Yakin, Nozomu Katō and Brian Terlson Hmm, but none of the

RE: Re: Backward running version look-behinds

2015-12-11 Thread Gorkem Yakin
-l.html -Original Message- From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of Domenic Denicola Sent: Friday, December 11, 2015 8:42 AM To: Yang Guo <yang...@chromium.org>; es-discuss@mozilla.org Subject: RE: Re: Backward running version look-behinds From: es-d

Re: Re: Backward running version look-behinds

2015-12-11 Thread Yang Guo
riginal Message- > From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of > Domenic Denicola > Sent: Friday, December 11, 2015 8:42 AM > To: Yang Guo <yang...@chromium.org>; es-discuss@mozilla.org > Subject: RE: Re: Backward running version look-behinds > >

Re: Re: Backward running version look-behinds (Re: Look-behind proposal in trouble)

2015-11-19 Thread Yang Guo
FWIW this is precisely how it works in .NET as well (reverse order of capture and back reference). While it might be surprising, it makes sense with the backward read direction in mind. I'm not fond of the idea of throwing syntax error if the back reference is to the right of the capture inside a