a utf8 bug in one of the new RE optimizations
p4raw-id: //depot/perl@3730
Perl_pregfree(pTHX_ struct regexp *r)
{
dTHR;
+ DEBUG_r(if (!PL_colorset) reginitcolors());
DEBUG_r(PerlIO_printf(Perl_debug_log,
"%sFreeing REx:%s `%s%.60s%s%s'\n",
PL_colors[4],PL_colors[5],PL_colors[0],
&& (sv && (strpos + SvCUR(sv) != strend)) )
goto fail;
+ PL_regeol = strend; /* Used in HOP() */
s = (char*)HOP((U8*)strpos, prog->check_offset_min);
if (SvTAIL(prog->check_substr)) {
slen = SvCUR(prog->check_substr); /* >= 1 */
@tests = grep (!$infinite{$_}, @tests);
@tests = map {
my $new = $_;
- if ($datahandle{$_} && !( -f $new.t) ) {
+ if ($datahandle{$_} && !( -f "$new.t") ) {
$new .= '.t';
local(*F, *T);
open(F,"<$_") or die "Can't open $_: $!";
}
sub compare_addr {
+ no utf8;
my $a = shift;
my $b = shift;
if (length($a) != length $b) {
round\(((?>[^()]+))\) _I(round(xs * sz),1) y $1 xs * sz
'((?x:.) )' x y $1- x -
'((?-x:.) )'x x y $1- x-
+foo.bart foo.bart y - -
}
use strict;
+no utf8;
my $debug = 1;