Wouldn't $b also be a regular expression, and $a also be a valid string? In other words, what are your criteria?
--MidLifeXis
In reply to Re: Detecting if a string is a regular expression
by MidLifeXis
in thread Detecting if a string is a regular expression
by smontsar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |