funcool/cuerdas

`title` doesn't work as expected when string contains non-alphanumerics

lacarmen opened this issue · 1 comments

(title "mini(s)")
=> "Mini S"
(title "mini's")
=> "Mini S"
(title "follow-up")
=> "Follow Up"

Perhaps stylize-split should only split on spaces when s is a string?

Thanks @lacarmen !

I think that the last example you pasted is correct, because cuerdas interprets - as word separation. And I with others I completely agree, and it need to be fixed.

I'm traveling just now so I'll try to fix it on my first free time ;)