> ...found that I can use an "if-then" type of expression within a regex, but have found no examples for how to do this. How would you do this?
see perlretut#Conditional-expressions
HTH
Cheers Rolf
In reply to Re: How to use "less than" and "greater than" inside a regex for a $variable number
by LanX
in thread How to use "less than" and "greater than" inside a regex for a $variable number
by Polyglot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |