question: public static String replaceNotEscaped ( String s , String old , String replacement ) { s = s . replace ( ESCAPE_CHARACTER + old , TEMP_REPLACEMENT ) ; s = s . replace ( old , replacement ) ; s = s . replace ( TEMP_REPLACEMENT , old ) ; return s ; }
target:  this method does not use "complex" regular expressions to avoid problems with compiling to GWT