diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-06-15 13:05:11 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-06-23 15:07:18 +0200 |
commit | bfafcb9a4c258bd72d8c22f5d8af5edc8897f48e (patch) | |
tree | a135d8b491b022b33b80366d19ff0ba6f0c270b1 /pp.c | |
parent | 730fb7e791962b4f698b07b82ae1213ced61a5e1 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |