Skip to content

Commit 56367ba

Browse files
author
Jan-Olof Hendig
committed
Fixed a slightly broken code example. timotimo++
1 parent 5ff8bef commit 56367ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/regexes.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ Likewise, C<$> matches the end of a B<string>, not the end of a B<line>.
506506
507507
The following is a multi-line string:
508508
509-
my $str = q:to/EOS/;
509+
my $str = chomp q:to/EOS/;
510510
Keep it secret
511511
and keep it safe
512512
EOS

0 commit comments

Comments
 (0)