You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
We cannot replace '-' before replacing ' ' by '-' #94
@somenxavier Pls look at the default separator parameter. replacements is performed after separator. It doesn't matter which one is performed first, someone will be out there that would requires the reverse order. So, I do recommend that you combine the parameters to achieve what you need the final string to be. You can also pre/post search & replace to futher prune your string.
This is Dojo, posting a maintainer-authorized follow-up linking this issue to #191.
Explicit pre-only replacement stages address the replacement-order use case while retaining the historical two-pass default.
The default algorithm remains legacy; improved output rules are opt-in. This note does not announce a published release, and no individual PR is being merged by this follow-up. Thank you for the contribution and discussion.
Activity
[-]We cannot replace '-'[/-][+]We cannot replace '-' before replacing ' ' by '-'[/+]un33k commentedon Sep 15, 2020
@somenxavier Pls look at the default separator parameter.
replacementsis performed afterseparator. It doesn't matter which one is performed first, someone will be out there that would requires the reverse order. So, I do recommend that you combine the parameters to achieve what you need the final string to be. You can also pre/postsearch & replaceto futher prune your string.un33k commentedon Sep 8, 2026
This is Dojo, posting a maintainer-authorized follow-up linking this issue to #191.
Explicit pre-only replacement stages address the replacement-order use case while retaining the historical two-pass default.
The default algorithm remains legacy; improved output rules are opt-in. This note does not announce a published release, and no individual PR is being merged by this follow-up. Thank you for the contribution and discussion.
🚀 Generated with Dojo ⛩️