In comp.lang.javascript message <yg****************************@40tude.n
et>, Sun, 25 Feb 2007 11:43:45, den <sp*****@not.notposted:
>very thanks at all;
only a small question
in the last example
you use
alert(RegExp.$1);
but this parameter RegExp function in all modern browser?
in all version of javascript?
Possibly; but the usage is not given in ISO/IEC 16262. It is deprecated
for javascript, and one should instead index the result of .exec or
..match. See in <URL:http://www.merlyn.demon.co.uk/js-valid.htm>.
I have heard that in JScript.NET with ASP.NET the RegExp.$1 notation is
not available.
Query : I want to find a way of detecting all and only instances of such
deprecated usage on my site, for removal. Seeking RegExp.$ is of course
insufficient.
It's a good idea to read the newsgroup and its FAQ. See below.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.