Skip to content
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

Precedence documentation seems missing #35

Open
darioteixeira opened this issue Oct 27, 2015 · 2 comments
Open

Precedence documentation seems missing #35

darioteixeira opened this issue Oct 27, 2015 · 2 comments

Comments

@darioteixeira
Copy link

I think the documentation about precedence of the various regexp operators is missing. For instance, does Star r1, r2 parse as Star (r1, r2) or (Star r1), r2?

@alainfrisch
Copy link
Collaborator

The concrete syntax is the one of OCaml patterns, following their precedence. So Star r1, r2 is (Star r1), r2.

@pmetzger
Copy link
Member

pmetzger commented Oct 8, 2017

Probably worth documenting anyway. I've had this same question. At the very least, that one two sentence reply (i.e. "The concrete syntax is the one of OCaml patterns...) would have saved me a few minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants