summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-06-15 13:05:11 +0200
committerNicholas Clark <nick@ccl4.org>2011-06-23 15:07:18 +0200
commitbfafcb9a4c258bd72d8c22f5d8af5edc8897f48e (patch)
treea135d8b491b022b33b80366d19ff0ba6f0c270b1 /pp.c
parent730fb7e791962b4f698b07b82ae1213ced61a5e1 (diff)
downloadperl-bfafcb9a4c258bd72d8c22f5d8af5edc8897f48e.tar.gz
study now passes REXEC_SCREAM to the regex engine when SvSCREAM() is true.
This causes the regex engine to take advantage of the study data.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index d3d4cc81e8..f815d0a619 100644
--- a/pp.c
+++ b/pp.c
@@ -6152,7 +6152,7 @@ PP(pp_split)
I32 rex_return;
PUTBACK;
rex_return = CALLREGEXEC(rx, (char*)s, (char*)strend, (char*)orig, 1 ,
- sv, NULL, 0);
+ sv, NULL, SvSCREAM(sv) ? REXEC_SCREAM : 0);
SPAGAIN;
if (rex_return == 0)
break;