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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!