-
Notifications
You must be signed in to change notification settings - Fork 757
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
Permit pattern zero repeats #3603
Permit pattern zero repeats #3603
Conversation
Todo: add more patterns to the test suite. |
|
ok, this should be ready for review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, but I'm not an expert here. :) Should documentation change because of this?
I suppose that it now just behaves as expected. But I've looked at the help files a little. It would be worth documenting the |
Because counter is initialised to zero, this test is redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks okay to me.
[edited]
This does not fix #3002. It merely permits patterns to be skipped if their repeats/length value is zero.