Vlad
Member since Apr 19, 2010
- Profile: /members/5859-vlad.htm
- Comments: 3
Recent Blog Comments By Vlad
-
Issues with Back Slashes (\) And Java's Matcher::AppendReplacement() Method
Posted on Apr 20, 2010 at 10:14 AM
My bad, I missed that. I see I'm not the first one to make that mistake in your blog :) Your pages come up nicely when querying google for java issues Thanks... read more »
-
Issues with Back Slashes (\) And Java's Matcher::AppendReplacement() Method
Posted on Apr 20, 2010 at 9:45 AM
May be I'm missing something, but it can't be compiled as replaceAll("\\","\\\\"), it would give: <code> Exception in thread "main" java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \^ at java.util.regex.Pattern.error(Unknown Source) at java.util.regex.Pattern.comp... read more »
-
Issues with Back Slashes (\) And Java's Matcher::AppendReplacement() Method
Posted on Apr 19, 2010 at 4:45 PM
It should be, in fact, replaceAll( "\\\\", "\\\\\\\\" )... read more »