I am writing a program that only replaces double backslash, not single backslash.
I don't quite understand how this could be working in Java:
"\\".replaceAll("\\\\", "/")
The result is "/"
But I am expecting it should stay unchanged, since "\" is a single backslash character, the first \ is an escape character, right?