juliancoleman / orchestra

A dependency-free, pure-function String manipulation library
MIT License
1 stars 0 forks source link

repeating numbers shouldn't be separated in kebabize or snakeize #12

Open juliancoleman opened 5 years ago

juliancoleman commented 5 years ago

Currently something cool 123 gets transformed to something_cool_1_2_3. I can use a negative lookahead here to determine that a number isn't next in the sequence to have a bit smarter placement of underscores and dashes