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

Add a test for the removal of comments #147

Merged
merged 1 commit into from
Sep 5, 2016

Conversation

stof
Copy link
Collaborator

@stof stof commented Jul 22, 2016

When reading the regex, I first wondered whether it supported multiple comments properly. After reading it thoroughly, I figured out it does, because of using a non-greedy quantifier.

But to ensure that things are not broken by mistake in the future, I added a test covering this (so that removing the non-greedy flag by mistake would make the test fail)

@tijsverkoyen tijsverkoyen merged commit b729a9b into tijsverkoyen:master Sep 5, 2016
@stof stof deleted the add_test_for_comments branch September 5, 2016 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants