Question: Java regex character escape I have a regex string that I will later compile& match to an input string. The string is ==| <
Java regex character escape
I have a "regex" string that I will later compile& match to an input string.
The string is "==|<<|\\|="
As you can see, I am using the "OR" operator in the regex for these 3 different binary operators. The last one is "|=" but it is giving me problems since "|" is a metacharacter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
