In my app I need the code like:
string1.replaceAll(string2, myConstatntString)
Problem is that string1 and string2 can contain special symbols like '('.
I wish to quote string2 using  java.util.regex.Pattern.quote(String arg):
string1.replaceAll(Pattern.quote(string2), myConstatntString);
But java.util.regex.Pattern is not available in GWT client side. Does GWT have any replacements for Pattern.quote?
 
     
    