summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-07-07 23:59:59 -0500
committerJesse Luehrs <doy@tozt.net>2011-07-07 23:59:59 -0500
commita79d39cd43b59afc13543365c730f90150b4ec0e (patch)
tree7bb9f7b6a6f1a950cbd288036ef5faab0b2549f0
parent635f02a80fb3362b72b036d7472ba24c28672222 (diff)
downloadsmartmatch-engine-core-a79d39cd43b59afc13543365c730f90150b4ec0e.tar.gz
smartmatch-engine-core-a79d39cd43b59afc13543365c730f90150b4ec0e.zip
regex overload is called 'qr', not '=~'
-rw-r--r--lib/smartmatch/engine/rjbs.pm2
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 {