Skip to content

Commit 8fa7964

Browse files
committed
Fix code typo (Closes #430)
1 parent 98c244c commit 8fa7964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/regexes.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ is possible: C<a ** 5> matches C<a> exactly five times.
354354
It is also possible to use non inclusive ranges using a caret:
355355
356356
=begin code
357-
say so 'a' ~~ /a ** 1^..^6; # False
358-
say so 'aaaa' ~~ /a ** 1^..^6; # True
357+
say so 'a' ~~ /a ** 1^..^6/; # False
358+
say so 'aaaa' ~~ /a ** 1^..^6/; # True
359359
=end code
360360
361361
This includes the numeric ranges starting from 0:

0 commit comments

Comments
 (0)