RegExp.$1 spec

Brendan Eich brendan at
Thu Apr 5 14:16:29 PDT 2007

Ugh, I'd forgotten about this. If it's implemented in all of IE,  
Mozilla, Opera, and Safari, then it might be best to codify it in  
ES4. OTOH we would then want to deprecate it. If we can let it alone  
as a de-facto standard, not make it normative in the de-jure spec,  
and thereby more effectively deprecate it, that would be best IMHO.


On Apr 5, 2007, at 1:30 PM, Erik Arvidsson wrote:

> I cannot find any spec for how RegExp.$1 etc should work. It is not
> part of the 3rd edition but all user agents seems to implement this.
> Is there a spec for this somewhere? Should this be added to edition 4?
> -- 
> erik
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at

More information about the Es4-discuss mailing list