RegExp and ”
Using ” gives error, I tried with \” aswell.
Submitted by Terje Pedersen on 12 April 2011 at 12:56
x.replace(/”/g, “"”);
Issue Log
On 14 April 2011 at 13:40 Zef Hemel closed this issue.
On 14 April 2011 at 13:40 Zef Hemel commented:
This would require unicode support in regular expressions, which has some problems with underlying technology right now. However, version 0.4.4 will have a
RegExp.fromString("...")
method you can use.
On 14 April 2011 at 13:42 Terje Pedersen commented:
I see, its not very important I found another solution solving my problem :) but good to know about the upcoming .fromString()
Log in to post comments