At 17:24 +0300 21/5/09, Vladimir Tkach wrote:
>Prototype gsub error?
>Result : SyntaxError: unterminated string literal

I /think/, though the experts hereabouts will confirm or otherwise, 
that JavaScript thinks the \ is escaping the quote that comes after 
it. To do what you want, I believe you'd have to escape the backslash 
in turn:


I hope that's right!

Cheers... Chris
Highway 57 Web Development --

Why do you necessarily have to be wrong just because
a few million people think you are?
    -- Frank Zappa

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to