iancoleman / strcase

A golang package for converting to snake_case or CamelCase
MIT License
1.01k stars 106 forks source link

Kebab notation S3 string is transformed to s-3 #42

Open martoc opened 2 years ago

martoc commented 2 years ago

I use this library to transform some Cloudformation parameters names into kebab notation S3 is one of the AWS services when it's found in a parameter file it is transformed to s-3

For example LogRouterS3BucketName is translated to log-router-s-3-bucket-name

I wonder if this is an issue or it is expected by this library

jazanne commented 2 years ago

i've also run into this issue. I would expect/prefer the that letters/numbers not be separated

jryannel commented 1 year ago

See also https://github.com/iancoleman/strcase/issues/22