There are two .t files that have useless greediness modifiers. A
warning was instroduced in commit
4fa6dd16d2149c2aeeb32633e3a796d5ebc5b657 when this occurs. This
silences those warnings in the two .t files
{
#' RT #119075
+ no warnings 'regexp';
local $@;
eval { /a{0}?/; };
ok(! $@,
# CURLYX and WHILEM blocks, except those related to LONGJMP, the
# super-linear cache and warnings. It executes about 0.5M regexes
+ no warnings 'regexp'; # Silence has useless greediness modifier
my $r = qr/^
(?:
( (?:a|z+)+ )
)*
( (?:l|z+)+ )
$/x;
+ use warnings 'regexp';
my $ok = 1;
my $msg = "CURLYX stress test";