Re: String.replaceAll(String regex, String replacement) question

From: Mladen Adamovic (adamm_at_blic.net)
Date: 12/05/03


Date: Fri, 5 Dec 2003 17:20:54 +0100


> See, first the Java compiler
> processes the arguments, turning them into ["] and \". Then the
> Matcher looks at that single backslash in the second argument, decides
> it's only there to escape the double-quote, and throws it away.

Thanks for help Alan.
I really think that escape sequences shouldn't be processed TWICE when
program call
String.replaceAll(String regex, String replacement)



Relevant Pages

  • Re: certreq with name-format "Lastname, Firstname"
    ... format "Lastname, Firstname"), it works fine as well as for the manual ... certificate request generated by the webservice of certutil. ... IIRC you already tried to escape the comma with a single backslash. ...
    (microsoft.public.windows.server.security)
  • Re: datasource
    ... "freddy" wrote in message ... I got an unrecognized escape sequence ... |>> In my Datasource can I use an underscore? ...
    (microsoft.public.dotnet.languages.csharp)