The following regular expression is accepted by the compiler

name := /\"/.replaceAll("", name);

but generates the following syntactically erroneous Java code:

getTag_name0 = getTag_name0.replaceAll("\\"", "");
Submitted by Eelco Visser on 13 March 2010 at 14:50

Log in to post comments