Tazinho / snakecase

🐍🐍🐍 A systematic approach to parse strings and automate the conversion to snake_case, UpperCamelCase or any other case.
https://tazinho.github.io/snakecase/
GNU General Public License v3.0
147 stars 9 forks source link

upper_lower_case needs to take more care on numerals #104

Closed Tazinho closed 6 years ago

Tazinho commented 6 years ago
snakecase::to_any_case("R.Studio: v 1.0.143",
                       case = "upper_lower", preprocess = "\\.")
"Rstudio:V10143"

This has also to be fixed for "lower_upper_case" and within the regarding to_xxx functions.

Tazinho commented 6 years ago

fixed. Additionally added tests for consistency between lower_upper upper_lower upper_camel and lower_camel