summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-05-24 14:45:41 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-29 23:55:23 -0700
commita91cc45146f05ad6f704d28dd889084201c1b74f (patch)
tree25328027ab62e909b3c00e2b8d7d299a0758fe5c /regexec.c
parent43e373e63c219121304886fa2ecda701fe46cd7f (diff)
downloadperl-a91cc45146f05ad6f704d28dd889084201c1b74f.tar.gz
Away with REXEC_SCREAM!
Actually, we cannot remove the definition, as there are CPAN modules that need it; but they only test the flag, and never set it, so perl doesn’t need to keep testing it itself.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/regexec.c b/regexec.c
index 3b85d8b1ce..084b496d9f 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2327,9 +2327,6 @@ Perl_regexec_flags(pTHX_ REGEXP * const rx, char *stringarg, register char *stre
(s = fbm_instr((unsigned char*)HOP3(s, back_min, (back_min<0 ? strbeg : strend)),
(unsigned char*)strend, must,
multiline ? FBMrf_MULTILINE : 0)) ) {
- /* we may be pointing at the wrong string */
- if ((flags & REXEC_SCREAM) && RXp_MATCH_COPIED(prog))
- s = strbeg + (s - SvPVX_const(sv));
DEBUG_EXECUTE_r( did_match = 1 );
if (HOPc(s, -back_max) > last1) {
last1 = HOPc(s, -back_min);