in reply to How to use "less than" and "greater than" inside a regex for a $variable number
> ...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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use "less than" and "greater than" inside a regex for a $variable number
by Polyglot (Chaplain) on Oct 01, 2012 at 21:28 UTC | |
by AnomalousMonk (Archbishop) on Oct 02, 2012 at 03:18 UTC | |
by Polyglot (Chaplain) on Oct 04, 2012 at 19:42 UTC | |
by AnomalousMonk (Archbishop) on Oct 06, 2012 at 10:41 UTC | |
by AnomalousMonk (Archbishop) on Oct 02, 2012 at 05:24 UTC |