Skip to content

Update for sanitizing regex results and matcher strings. #1224

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

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

MaxSagebaum
Copy link
Contributor

@MaxSagebaum MaxSagebaum commented Aug 13, 2024

The matcher strings and the result output for regular expression are now sanitized. Special characters like newline are replaced with the escaped version.

closes #1223

@MaxSagebaum MaxSagebaum changed the title Update for sanitizing regex results and matcher strings. WIP: Update for sanitizing regex results and matcher strings. Aug 13, 2024
@MaxSagebaum
Copy link
Contributor Author

Letting the test suite run, so that I can update the test results.

@MaxSagebaum MaxSagebaum force-pushed the bugfix/regex_result_output branch from 7cd2beb to 626ad0a Compare August 14, 2024 06:31
@MaxSagebaum
Copy link
Contributor Author

@hsutter ready to merge

The last regression problem is about a temporary directory. I created a bug report for that #1225.

@MaxSagebaum MaxSagebaum changed the title WIP: Update for sanitizing regex results and matcher strings. Update for sanitizing regex results and matcher strings. Aug 14, 2024
@hsutter hsutter merged commit 07d641b into hsutter:main Aug 14, 2024
28 of 29 checks passed
@hsutter
Copy link
Owner

hsutter commented Aug 14, 2024

Thanks again for this! 🎉

@hsutter
Copy link
Owner

hsutter commented Aug 18, 2024

Hmm, I just noticed that apparently as of this PR we broke a five regression test cases / compiler combinations?

mixed-type-safety-1: on GCC 10, Clang 18

pure2-type-safety-1: on GCC 14, Clang 18

pure2-requires-clauses: on GCC 10

I might be misreading and it might not have been due to this PR, but if I'm reading it correctly these five files disappeared as of this PR?

@hsutter
Copy link
Owner

hsutter commented Aug 18, 2024

Ah, I see @filipsajdak has explained the reason in this comment: #1203 (comment)

It seems to be a requires-clause thing, rather than something about this PR. I'll go take a look.

Thanks again for this!

@filipsajdak
Copy link
Contributor

@hsutter here is the solution to above issues: #1250

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.

[BUG] New clone of repo shows modification to pure2-regex_10_escapes.cpp.execution
3 participants