What is the proper way of inserting a pipe into a Java Pattern expression?
I actually want to use a pipe as a delimiter and not the or operator.
I.E:
"hello|world".split("\\\\|"); --> {"hello", "world"}
First set of "\\" only yields the \ as the delimiter. Therefore 2 sets are needed to escape the pipe.
"\\"