Skip to content

Commit

Permalink
add test for RT #120511, <?[\n]>
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Aug 16, 2015
1 parent b007c41 commit c82bbd5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S05-metasyntax/charset.t
Expand Up @@ -12,7 +12,7 @@ be valid perl6.
=end pod

plan 41;
plan 42;

# Broken:
# L<S05/Extensible metasyntax (C<< <...> >>)/"A leading [ ">
Expand Down Expand Up @@ -93,4 +93,10 @@ nok '^' ~~ / <[ \[ .. \] ]> /, '... does not match outside its range';
ok 'z' ~~ / <[a..z]-[x]> /, '... but others are fine';
}

# RT #120511
{
is "\r\na" ~~ /<?[\n]>"\r\na"/, "\r\na",
'look-ahead with windows newline does not advance cursor position';
}

# vim: ft=perl6

0 comments on commit c82bbd5

Please sign in to comment.