RegExp.$1 spec

Erik Arvidsson erik.arvidsson at
Fri Apr 6 10:06:51 PDT 2007

On 4/6/07, Lars T Hansen <lth at> wrote:
> Does anyone know how widespread the use of this mechanism is?

It is used quite a lot...

700 hits for RegExp\.\$\d\.\%24\d+lang%3Ajavascript&btnG=Search

6000 hits for RegExp

So about 10% of the JavaScript code that uses RegExp also uses the
RegExp.$n notation.


More information about the Es4-discuss mailing list