in reply to Re: reversing a compiled regex?
in thread reversing a compiled regex?
Well, almost. Actually I just gave "equals" and "not equals" (et cetera) the same keys in the regex and then did roughly:
if ($key =~ /not/) { return $string !~ /$rx/; } else { return $string =~ /$rx/; }
andramoiennepemousapolutropon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: reversing a compiled regex?
by dragonchild (Archbishop) on Mar 27, 2003 at 15:05 UTC |