Open silesky opened 4 years ago
This would apply to all case changes except lowercase and uppercase.
Since the overwhelming use case for camelcase / kebabcase / snakecase also requires stripping out special characters, I think this should do it by default.
current behavior Foobar: foo bar! baz? -> foobar:-foo-bar!-baz? desired behavior Foobar: foo bar! baz? -> foobar-foo-bar-baz
Foobar: foo bar! baz?
foobar:-foo-bar!-baz?
foobar-foo-bar-baz
This would apply to all case changes except lowercase and uppercase.
Since the overwhelming use case for camelcase / kebabcase / snakecase also requires stripping out special characters, I think this should do it by default.
current behavior
Foobar: foo bar! baz?
->foobar:-foo-bar!-baz?
desired behaviorFoobar: foo bar! baz?
->foobar-foo-bar-baz