« Return to Thread: String#replace String#match and regexp.lastIndex

Re: String#replace String#match and regexp.lastIndex

by Brendan Eich-3 :: Rate this Message:

Reply to Author | View in Thread

On Jul 1, 2009, at 10:08 AM, Steve L. wrote:

> Opera 9.64 (and other versions I've previously tested this issue  
> with) alerts A: 2, 4, 6, 8 and B: 0. Like you, this is my  
> interpretation of correct handling according to the spec. Opera  
> tends to follow the spec most closely for regex issues, in general.

This seems like a bug for other vendors than Opera to fix. Filed:

https://bugzilla.mozilla.org/show_bug.cgi?id=501739

I suspect no one will mind the fix, and a few will welcome it. But we  
will have to try it out on real developers and users to be sure.

/be
_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

 « Return to Thread: String#replace String#match and regexp.lastIndex