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

Parser should allow things like a*** even though they are non deterministic #14

Open
s4ke opened this issue Sep 2, 2016 · 2 comments
Open
Labels

Comments

@s4ke
Copy link
Collaborator

s4ke commented Sep 2, 2016

Currently only (?:(?:a*)*)* is allowed (but still non deterministic).

@s4ke s4ke added the bug label Sep 2, 2016
@s4ke
Copy link
Collaborator Author

s4ke commented Sep 2, 2016

This is due to the currently used Grammar. Maybe we should scrap the current ANTLR based parser and rewrite it into a manually written one. This would allow us to handle things more liberally (see #15)

@s4ke
Copy link
Collaborator Author

s4ke commented Sep 3, 2016

On the other hand side one might argue that this doesn't make sense. The standard implementation of Java Regexes doesn't like the Regex either.

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

No branches or pull requests

1 participant