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

Better fix for #409 #411

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Better fix for #409 #411

merged 3 commits into from
Mar 26, 2024

Conversation

drtconway
Copy link
Contributor

I've reworked the change I proposed earlier to use std::regex which makes it neater.

It now splits on whitespace, then checks that the name is SAM-compatible.

@marcelm
Copy link
Collaborator

marcelm commented Mar 26, 2024

Nice, thanks! This looks fine now.

Just a note: It is more customary to modify an existing PR until it is satisfactory because otherwise the previous discussion (as in #410) is lost. But no worries, this is not a problem here.

@marcelm marcelm merged commit e200d70 into ksahlin:main Mar 26, 2024
5 checks passed
marcelm added a commit that referenced this pull request Mar 26, 2024
@marcelm
Copy link
Collaborator

marcelm commented Mar 26, 2024

I added a couple of tests in 444c948 and a changelog entry in c3ea0d2.

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