Skip to content

Fix issue 17667 - regex([r".", r"[\(\{[\]\}\)]"]);#5656

Merged
dlang-bot merged 1 commit intodlang:stablefrom
DmitryOlshansky:issue-17667
Aug 7, 2017
Merged

Fix issue 17667 - regex([r".", r"[\(\{[\]\}\)]"]);#5656
dlang-bot merged 1 commit intodlang:stablefrom
DmitryOlshansky:issue-17667

Conversation

@DmitryOlshansky
Copy link
Member

Missing check in charset parser + side effect of how multi-pattern regex was implemented.

@dlang-bot
Copy link
Contributor

dlang-bot commented Jul 25, 2017

Thanks for your pull request, @DmitryOlshansky!

Bugzilla references

Auto-close Bugzilla Description
17667 regex([r".", r"[({[]})]"]);

@DmitryOlshansky DmitryOlshansky changed the base branch from master to stable July 25, 2017 13:52
Copy link
Member

@andralex andralex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does all that code appear uncovered?

@DmitryOlshansky
Copy link
Member Author

Why does all that code appear uncovered?

Well at least one of the ifs I think is uncovered the others dunno.
Will add a couple of tests to cover all.

@DmitryOlshansky
Copy link
Member Author

Done. Also fixed a number of unreported issues with multi-pattern regex.

@andralex
Copy link
Member

@MartinNowak OK to override the failing codecov?

@DmitryOlshansky
Copy link
Member Author

Regex unittests historically leave in a separate file, that may have fooled the codecov.

@MartinNowak
Copy link
Member

Regex unittests historically leave in a separate file, that may have fooled the codecov.

Yes, see #5579 (comment).
We'd need to change the single test make target to also compile the separate tests with -unittest.

@dlang-bot dlang-bot merged commit 284e8ee into dlang:stable Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants