We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug It works correctly for the regex (|A), but errors when using (A|)
(|A)
(A|)
To Reproduce Steps to reproduce the behavior:
RuntimeException: "Empty nodes"
Expected behavior (|A) and (A|) produces same results.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
#35. Empty Alternatives Only First Works
312c096
Unit tests added.
fe6f313
5ea543f
Fixed. Now empty alternative will be treated as empty string at the end of choices.
Merge pull request #37 from curious-odd-man/#35.EmptyAlternativesOnly…
9253ba7
…FirstWorks #35. Empty Alternatives Only First Works
curious-odd-man
No branches or pull requests
Describe the bug
It works correctly for the regex
(|A)
, but errors when using(A|)
To Reproduce
Steps to reproduce the behavior:
(A|)
RuntimeException: "Empty nodes"
Expected behavior
(|A)
and(A|)
produces same results.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: