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

Be more conservative with regexes. #1762

Merged
merged 1 commit into from May 23, 2017

Conversation

bangerth
Copy link
Contributor

In particular, we only want to do one replacement (so don't use 'g') and
only want to do it at the end of the filename (use the dollar sign for end
of string).

This is an update to #1759. I'd appreciate if @gassmoeller could verify
that using the dollar sign in the regex with sed actually works as
expected. But it seems to work for me.

In particular, we only want to do one replacement (so don't use 'g') and
only want to do it at the end of the filename (use the dollar sign for end
of string).
@gassmoeller
Copy link
Member

Looks good. I am not sure what happened with the aspect-8.5-gcc tester, but it seems to work for other pull requests (e.g. #1763), and this is unrelated to tests anyway, so I am going to merge.

@gassmoeller gassmoeller merged commit 21e8723 into geodynamics:master May 23, 2017
@bangerth bangerth deleted the conservative-regex branch May 23, 2017 17:08
@tjhei
Copy link
Member

tjhei commented May 23, 2017

Internet of that machine was down for a few days. Sigh.

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.

None yet

3 participants