Skip to content

Commit a973e7b

Browse files
committed
Fix for #679 (^^ and the end of the string)
1 parent 1b39176 commit a973e7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/Language/regexes.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,8 @@ Keep in mind, these anchors match end of B<string>, not line:
484484
=head2 X«C<^^>, Start of Line and C<$$>, End of Line|regex,^^;regex,$$»
485485
486486
The C<^^> assertion matches at the start of a logical line. That is, either
487-
at the start of the string, or after a newline character.
487+
at the start of the string, or after a newline character. It does not match
488+
at the end of the string, even if it ends with a newline character.
488489
489490
C<$$> matches only at the end of a logical line, that is, before a newline
490491
character, or at the end of the string when the last character is not a

0 commit comments

Comments
 (0)