$| = 1;
-my $EXPECTED_TESTS = 3962; # Update this when adding/deleting tests.
+my $EXPECTED_TESTS = 3965; # Update this when adding/deleting tests.
BEGIN {
chdir 't' if -d 't';
}
iseq "@res","#1 #2";
}
+ {
+ no warnings 'closure';
+ my $re = qr/A(??{"1"})/;
+ ok "A1B" =~ m/^((??{ $re }))((??{"B"}))$/;
+ ok $1 eq "A1";
+ ok $2 eq "B";
+ }
#
# This should be the last test.
#
# was generating malformed utf8
'[\x{100}\xff]'i \x{ff} y $& \x{ff}
+
+((??{ "(?:|)" }))\s C\x20 y - -