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

path_ext() returns correct extension if multiple dots present #452

Merged
merged 2 commits into from
Apr 27, 2024
Merged

path_ext() returns correct extension if multiple dots present #452

merged 2 commits into from
Apr 27, 2024

Conversation

IndrajeetPatil
Copy link
Contributor

Closes #382

@gaborcsardi gaborcsardi merged commit 342ac30 into r-lib:main Apr 27, 2024
13 checks passed
@gaborcsardi
Copy link
Member

Thank you!

@tentacles-from-outer-space

Hi, nice to see it is fixed, but the same regex fix need to be done in path_ext_remove too:

> fs::path_ext_remove("aa..bb")
[1] "aa..bb"

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.

path_ext wrong when two dots present
3 participants