Proposal for exact matching and matching at a position in RegExp
Kam Kasravi
kamkasravi at yahoo.com
Tue Feb 9 07:34:47 PST 2010
Hi Andy
I had mentioned to Brendan at the last TC39 that you had ported narcissus and had observed the cost of match.
There is a new global regexp parameter called 'y' which prevents the copy from occurring.
I've taken a look at narcissus and made some edits adding y to match. Both Brendan and Bob Clary
have advised on how to get the changes into mercurial on mozilla if you are not a developer within mozilla.
I can forward you these emails and we could review respective changes if you would like and its ok with
mozilla. The mozilla bug id is https://bugzilla.mozilla.org/show_bug.cgi?id=542621
thx
kam
________________________________
From: Andy Chu <andy at chubot.org>
To: es-discuss <es-discuss at mozilla.org>
Sent: Mon, February 8, 2010 11:46:06 PM
Subject: Re: Proposal for exact matching and matching at a position in RegExp
On Wed, Jan 27, 2010 at 10:03 PM, Andy Chu <andy at chubot.org> wrote:
> (The original message was held up in spam moderation for awhile)
>
> Here is an addendum, after it was pointed out to me that this issue
> has come up before:
>
> http://andychu.net/ecmascript/RegExp-Enhancements-2.html
>
> Basically the proposal is to add parameters which can override the
> internal state of the RegExp.
Does anyone have any comments on this?
Can I put it in a place where it will be considered for the next
ECMAScript? The overall idea seems relatively uncontroversial since
it was already implemented by Mozilla (for the exact same reason). I
have proposed a specific API enhancement too.
thanks,
Andy
_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100209/5f432df3/attachment.html>
More information about the es-discuss
mailing list