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

Add _END for anchoring, to reject extraneous input after a full match #21

Open
xparq opened this issue Sep 5, 2023 · 0 comments
Open

Comments

@xparq
Copy link
Owner

xparq commented Sep 5, 2023

Either as a rule or a pattern... So, a RULE or NAMED_PATTERNS["_END"]?...

Note: this is much like regex '$'. Seems like a RULE OP then, but it can also well be a "virtual" (non-consuming) named pattern like _EMPTY, or others...

It could also be the default. (Adjust the tests then!)

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

1 participant