Adrian M. Enache [Fri, 21 Feb 2003 17:49:41 +0000 (19:49 +0200)]
Message-ID: <
20030221154941.GA793@ratsnest.hole>
p4raw-id: //depot/perl@18775
sv_free(dstr);
TAINT_IF(cx->sb_rxtainted & 1);
- PUSHs(sv_2mortal(newSViv((I32)cx->sb_iters - 1)));
+ PUSHs(sv_2mortal(newSViv(saviters - 1)));
(void)SvPOK_only_UTF8(targ);
TAINT_IF(cx->sb_rxtainted);
}
require './test.pl';
-plan( tests => 126 );
+plan( tests => 127 );
$x = 'foo';
$_ = "x";
$f =~ s/x/y/g;
is($f, "yy", "[perl #17757]");
}
+
+# [perl #20684] returned a zero count
+$_ = "1111";
+is(s/(??{1})/2/eg, 4, '#20684 s/// with (??{..}) inside');
+