Closed Trott closed 1 year ago
Fixes: https://github.com/simov/slugify/issues/164
BREAKING CHANGE: remove() behavior now aligns with Stirng.prototype.replace(). To remove more than the first instance/match, use a regular expression with the global (g) flag.
This is a (small) breaking change, but I prefer it to #165 for maintainability.
Fixes: https://github.com/simov/slugify/issues/164
BREAKING CHANGE: remove() behavior now aligns with Stirng.prototype.replace(). To remove more than the first instance/match, use a regular expression with the global (g) flag.