- From: David Dorward <david@dorward.me.uk>
- Date: Mon, 17 Sep 2007 18:03:28 +0100
- To: <aramclonk@yahoo.de>
- Cc: www-validator Community <www-validator@w3.org>
On 17 Sep 2007, at 17:54, <aramclonk@yahoo.de> wrote: > Usually thats the way, but it does not work with regular > expressions like this one: > str.replace(/</g, "<"); It probably does if you instantiate the regular expression using the new RegEx constructor and a string, or you could simply not embed JavaScript inline and src it from a (cacheable) external file. -- David Dorward http://dorward.me.uk/ http://blog.dorward.me.uk/
Received on Monday, 17 September 2007 17:04:08 UTC