If you did you may want to use one of the balanced modules to verify balance of the parens.$string = "((2 > 1) | ('word' eq 'toy')))";
In reply to Re: Re: Parsing parenthetical arguments recursively
by waswas-fng
in thread Parsing parenthetical arguments recursively
by Moe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |