PHP Regex Dealing With Parenthesis -
As far as I understand, regex is tried to match all the points mentioned in parentheses.
like
& lt; P & gt; & Lt (*.); / P & gt;
How to distinguish between how and how the braces mentioned in regular expressions within a large regular expressions.
(hello), (how)
In the above example, we need to match the bracket, but if the parentheses near RACF [first example , Then how will it be differentiated?
thanks
if you literally go to ()
If you want to match, you can avoid most of these regex
engines like: \ (
, \)
.
Comments
Post a Comment