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

replaceExtensions breaks on all "." #179

Closed
hasufell opened this issue Jan 8, 2023 · 1 comment
Closed

replaceExtensions breaks on all "." #179

hasufell opened this issue Jan 8, 2023 · 1 comment

Comments

@hasufell
Copy link
Member

hasufell commented Jan 8, 2023

@augyg reported on gitlab:

The following code:

replaceExtensions ""/mount/passport/AAAA_TED/TEDxJaffa - 9_7_11/TEDxJaffa - Dr. Haim Shapira - Games People Play.webm"" ".wav"

returns:

/mount/passport/AAAA_TED/TEDxJaffa - 9_7_11/TEDxJaffa - Dr.wav

When it should only change the .webm portion.

@hasufell
Copy link
Member Author

hasufell commented Jan 8, 2023

No. This is expected. Use replaceExtension instead.

@hasufell hasufell closed this as completed Jan 8, 2023
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

No branches or pull requests

1 participant