Skip to content

Commit 287ac69

Browse files
committed
fix typo
1 parent deacf94 commit 287ac69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/regexes.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ L<regex adverbs|/language/regexes#Regex_adverbs>, which may be placed between C<
8989
opening delimiter to modify the definition of the entire regex:
9090
9191
rx:r:s/pattern/; # :r (:ratchet) and :s (:sigspace) adverbs, defining
92-
# a racheting regex in which whitespace is significant
92+
# a ratcheting regex in which whitespace is significant
9393
9494
Although anonymous regexes are not, as such, I<named>, they may effectively be
9595
given a name by putting them inside a named variable, after which they can be
9696
referenced, both outside of an embedding regex and from within an embedding
9797
regex by means of L<interpolation|/language/regexes#Regex_interpolation>:
9898
9999
my $regex = / R \w+ /;
100-
say "Zen Buddists like Raku too" ~~ $regex; # OUTPUT: 「Raku」
100+
say "Zen Buddhists like Raku too" ~~ $regex; # OUTPUT: 「Raku」
101101
102102
my $regex = /pottery/;
103103
"Japanese pottery rocks!" ~~ / <$regex> /; # Interpolation of $regex into /.../

0 commit comments

Comments
 (0)