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

Fix bad regexp #108

Merged
merged 1 commit into from May 26, 2015
Merged

Fix bad regexp #108

merged 1 commit into from May 26, 2015

Conversation

rabbitt
Copy link
Contributor

@rabbitt rabbitt commented May 16, 2015

regular expression was incorrectly using character classes and matching strings like: 100( or 100v etc.

@tphoney
Copy link
Contributor

tphoney commented May 19, 2015

Thanks for spotting this, could you add a test to reflect the problem seen. This will prevent the issue from resurfacing.

@rabbitt
Copy link
Contributor Author

rabbitt commented May 21, 2015

test added.

@tphoney
Copy link
Contributor

tphoney commented May 21, 2015

Sorry, i think the unit tests are failing.

@rabbitt
Copy link
Contributor Author

rabbitt commented May 21, 2015

Sorry - I didn't realize you were supporting ruby 1.8.7. I'll switch to using hash rockets in the patch.

* regular expression was incorrectly using character classes and matching strings like: 100( or 100v etc.
* added unit test
@rabbitt
Copy link
Contributor Author

rabbitt commented May 23, 2015

What's the good word on this? :-)

tphoney added a commit that referenced this pull request May 26, 2015
@tphoney tphoney merged commit bfbef90 into puppetlabs:master May 26, 2015
@tphoney
Copy link
Contributor

tphoney commented May 26, 2015

Sorry about the delay, thanks for the work.

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.

None yet

3 participants