New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grammar.parse talks about :c but it is actually :pos #1583
Comments
|
:c() and :pos() should both work. They don't do the same function (:pos() implicitly anchors the search at the position, :c() does not). |
|
@AlexDaniel where is its location? I cannot see this sentence inside the doc grammar or grammar_tutorial now |
|
I think the issue was about this:
https://docs.perl6.org/routine/parse#(Grammar)_method_parse https://github.com/perl6/doc/blob/0b5126a5772e5047cbd9acda83be81e4b9da8d10/doc/Type/Grammar.pod6#L44 |
|
@AlexDaniel #1645 , how about other adverbs, I cannot figure it out |
|
@W4anD0eR96 I think this can be closed? The original issue says that it should not talk about “:c(123)” and it no longer does, so that is it? I don't know about %opts, maybe create another issue for it? |
|
@AlexDaniel , agree with you. |
Same with .subparse.
Also, maybe we should provide a .subparse example? For example:
The text was updated successfully, but these errors were encountered: