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

Statically prevent matching the empty string #23

Merged
merged 2 commits into from
Feb 27, 2018
Merged

Conversation

timtadh
Copy link
Owner

@timtadh timtadh commented Feb 26, 2018

in response to #22 and #20 this prevents compilation of patterns which match the empty strings. At the moment it does not determine the exact pattern which is responsible for matching the empty string. That would be a good project (and I would welcome the contribution!!).

@timtadh
Copy link
Owner Author

timtadh commented Feb 26, 2018

@xaionaro ok. this should prevent putting in tokens which match the empty string. Let me know if it works for you.

@timtadh timtadh changed the title statically prevent matching the empty string Statically prevent matching the empty string Feb 26, 2018
@xaionaro
Copy link

@timtadh yep, works, thanks)

Signed-off-by: Tim Henderson <tadh@google.com>
Signed-off-by: Tim Henderson <tadh@google.com>
@timtadh timtadh changed the base branch from b-20 to master February 27, 2018 14:47
@timtadh timtadh merged commit 9bc5e2b into master Feb 27, 2018
@timtadh timtadh deleted the no-empty-strings branch February 27, 2018 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants