Re: [VE][79] and [VE][61] error in js section

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, "&lt;");

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