diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-07-07 23:59:59 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-07-07 23:59:59 -0500 |
commit | a79d39cd43b59afc13543365c730f90150b4ec0e (patch) | |
tree | 7bb9f7b6a6f1a950cbd288036ef5faab0b2549f0 /lib/smartmatch/engine | |
parent | 635f02a80fb3362b72b036d7472ba24c28672222 (diff) | |
download | smartmatch-engine-core-a79d39cd43b59afc13543365c730f90150b4ec0e.tar.gz smartmatch-engine-core-a79d39cd43b59afc13543365c730f90150b4ec0e.zip |
regex overload is called 'qr', not '=~'
Diffstat (limited to 'lib/smartmatch/engine')
-rw-r--r-- | lib/smartmatch/engine/rjbs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smartmatch/engine/rjbs.pm b/lib/smartmatch/engine/rjbs.pm index cf5aa91..da40998 100644 --- a/lib/smartmatch/engine/rjbs.pm +++ b/lib/smartmatch/engine/rjbs.pm @@ -21,7 +21,7 @@ sub type { if (overload::Method($thing, '~~')) { return 'Overloaded'; } - elsif (overload::Method($thing, '=~')) { + elsif (overload::Method($thing, 'qr')) { return 'Regex'; } else { |