We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf93d3d commit 7ac8ab1Copy full SHA for 7ac8ab1
doc/Language/grammars.pod6
@@ -198,11 +198,11 @@ word boundary (C«<|w>»):
198
# First <.ws> matches word boundary at the start of the line
199
# and second <.ws> matches the whitespace between 'b' and 'c'
200
say 'ab c' ~~ /<.ws> ab <.ws> c /; # OUTPUT: «「ab c」»
201
-
+
202
# Failed match: there is neither any whitespace nor a word
203
# boundary between 'a' and 'b'
204
say 'ab' ~~ /. <.ws> b/; # OUTPUT: «Nil»
205
206
# Successful match: there is a word boundary between ')' and 'b'
207
say ')b' ~~ /. <.ws> b/; # OUTPUT: «「)b」»
208
0 commit comments