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

Forcing ordered operation when generating regex #158

Merged
merged 1 commit into from Nov 19, 2020

Conversation

mattfarina
Copy link
Member

Range was used to iterate over the operations as part of generating
the regex. Range iterations are random. There were cases where the
empty key caused the regex to be generated as invalid.

This change removes the range so that the order is always the same.

Closes #155

Range was used to iterate over the operations as part of generating
the regex. Range iterations are random. There were cases where the
empty key caused the regex to be generated as invalid.

This change removes the range so that the order is always the same.

Closes Masterminds#155
@mattfarina mattfarina added the bug label Nov 18, 2020
@mattfarina mattfarina merged commit cccb00c into Masterminds:master Nov 19, 2020
@mattfarina mattfarina deleted the fix-155 branch November 19, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

auto generation of findConstraintRegex is not consistent
1 participant