diff options
author | David Mitchell <davem@iabyn.com> | 2013-06-16 16:54:09 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-07-28 10:33:35 +0100 |
commit | f0fb0b59f464b08ce14cb154cbf940ff94b2fada (patch) | |
tree | f9158a84ea28c1ee9be41f3fca687810e42fab2a /pp_hot.c | |
parent | 03b6c93d31676fe9936f9a438ca3f9c1ba46fba9 (diff) | |
download | perl-f0fb0b59f464b08ce14cb154cbf940ff94b2fada.tar.gz |
pp_match(): intuit can handle refs these days
It looks like we no longer need to skip intuit-only matching when the
match is a ref or overloaded (e.g. $ref =~ /ARRAY/)
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1439,9 +1439,7 @@ PP(pp_match) if (!s) goto nope; - if ( (RX_EXTFLAGS(rx) & RXf_CHECK_ALL) - && !SvROK(TARG)) /* Cannot trust since INTUIT cannot guess ^ */ - { + if (RX_EXTFLAGS(rx) & RXf_CHECK_ALL) { /* we can match based purely on the result of INTUIT. * Fix up all the things that won't get set because we skip * calling regexec() */ |