I'm trying to convert the String
something
into the String
\something\
using replaceAll
, but I keep getting all kinds of errors. I thought this was the solution:
theString.replaceAll("", "");
But this gives the below exception:
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…