diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-05-24 14:45:41 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-05-29 23:55:23 -0700 |
commit | a91cc45146f05ad6f704d28dd889084201c1b74f (patch) | |
tree | 25328027ab62e909b3c00e2b8d7d299a0758fe5c /regexec.c | |
parent | 43e373e63c219121304886fa2ecda701fe46cd7f (diff) | |
download | perl-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); |