Skip to content

Commit 5079079

Browse files
committed
Test for RT #126573.
1 parent edaeffa commit 5079079

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

S05-metasyntax/longest-alternative.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use v6;
22
use Test;
33

4-
plan 53;
4+
plan 54;
55

66
#L<S05/Unchanged syntactic features/"While the syntax of | does not change">
77

@@ -456,4 +456,7 @@ my $str = 'a' x 7;
456456
'sequential alternation first branch failure after LTM tries next best option';
457457
}
458458

459+
# RT #126573
460+
ok "\r\n" ~~ /[";"|"\r\n"]/, '\r\n grapheme in an alternation matches correctly';
461+
459462
# vim: ft=perl6 et

0 commit comments

Comments
 (0)