Skip to content

Commit 666b956

Browse files
committed
Make a bit clearer
1 parent 76735a7 commit 666b956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Grammar.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ sole positional argument.
5555
grammar { token TOP { a { say "42" } b } }.parse('ab', :$actions);
5656
# OUTPUT : «42␤7␤»
5757
58-
Additional named arguments are used as options for matching, so you can specify
59-
things like C<:pos(4)> to start parsing from the fourth (zero-base) character.
58+
Additional named arguments are used as options for matching, so you can for example specify
59+
things like C<:pos(4)> to start parsing from the fifth (:pos is zero-based) character.
6060
All L<matching adverbs|/language/regexes#Adverbs> are allowed, but not all of
6161
them take effect. There are several types of adverbs that a regex can have,
6262
some of which apply at compile time, like C<:s> and C<:i>. You cannot pass those

0 commit comments

Comments
 (0)