summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/t/lib/warnings/regcomp
blob: b55959e07032b7944752ea9963be71b9a8e912e0 (plain)
1
2
3
4
5
6
7
8
9
  regcomp.c	These tests have been moved to t/re/reg_mesg.t
		except for those that explicitly test line numbers.

__END__
use warnings 'regexp';
$r=qr/(??{ q"\\b+" })/;
"a" =~ /a$r/; # warning should come from this line
EXPECT
\b+ matches null string many times in regex; marked by <-- HERE in m/\b+ <-- HERE / at - line 3.