unlike($str, qr/^...\G/, $message);
ok($str =~ /\G../ && $& eq 'cd', $message);
- local $TODO = $running_as_thread;
+ local $::TODO = $::running_as_thread;
ok($str =~ /.\G./ && $& eq 'bc', $message);
}
my $foo = 'aabbccddeeffgg';
pos ($foo) = 1;
{
- local $TODO = $running_as_thread;
+ local $::TODO = $::running_as_thread;
no warnings 'uninitialized';
ok($foo =~ /.\G(..)/g, $message);
is($1, 'ab', $message);
my $message = '\p property after empty * match';
{
- local $TODO = "Bug 77414";
+ local $::TODO = "Bug 77414";
like("1", qr/\s*\pN/, $message);
like("-", qr/\s*\p{Dash}/, $message);
like(" ", qr/\w*\p{Blank}/, $message);
}
{
- local $TODO = "[perl #38133]";
+ local $::TODO = "[perl #38133]";
"A" =~ /(((?:A))?)+/;
my $first = $2;
# hasn't been crashing. Disable this test until it is fixed properly.
# XXX also check what it returns rather than just doing ok(1,...)
# split /(?{ split "" })/, "abc";
- local $TODO = "Recursive split is still broken";
+ local $::TODO = "Recursive split is still broken";
ok 0, 'cache_re & "(?{": it dumps core in 5.6.1 & 5.8.0';
}
# hasn't been crashing. Disable this test until it is fixed properly.
# XXX also check what it returns rather than just doing ok(1,...)
# split /(?{ split "" })/, "abc";
- local $TODO = "Recursive split is still broken";
+ local $::TODO = "Recursive split is still broken";
ok 0, 'cache_re & "(?{": it dumps core in 5.6.1 & 5.8.0';
}
{
- local $TODO = "See changes 26925-26928, which reverted change 26410";
+ local $::TODO = "See changes 26925-26928, which reverted change 26410";
{
package lv;
our $var = "abc";
iseq $f, "ab", "pos() retained between calls";
}
else {
- local $TODO;
+ local $::TODO;
ok 0, "Code failed: $@";
}
iseq $g, "ab", "pos() retained between calls";
}
else {
- local $TODO;
+ local $::TODO;
ok 0, "Code failed: $@";
}
}
for my $l (10, 100, 1000) {
$count = 0;
('a' x $l) =~ /(.*)(?{$count++})[bc]/;
- local $TODO = "Should be L+1 not L*(L+3)/2 (L=$l)";
+ local $::TODO = "Should be L+1 not L*(L+3)/2 (L=$l)";
is($count, $l + 1, $message);
}
}
}
{
- local $TODO = "[perl #38133]";
+ local $::TODO = "[perl #38133]";
"A" =~ /(((?:A))?)+/;
my $first = $2;