iancoleman/strcase

ToLowerCamel producing incorrect value for some snake case strings

Opened this issue · 0 comments

Hello,

It seems that certain snake case strings are not correctly converted to their camel case equivalents, a few examples:

"k8s_version" is converted to "k8SVersion", it should be "k8sVersion"
"l10n_us" converted to "l10NUs" but it should be "l10nUs"

Letters that follow a string of digits seem to be capitalized for no reason.