File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ sole positional argument.
55
55
grammar { token TOP { a { say "42" } b } }.parse('ab', :$actions);
56
56
# OUTPUT : «427»
57
57
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.
60
60
All L < matching adverbs|/language/regexes#Adverbs > are allowed, but not all of
61
61
them take effect. There are several types of adverbs that a regex can have,
62
62
some of which apply at compile time, like C < :s > and C < :i > . You cannot pass those
You can’t perform that action at this time.
0 commit comments