okunishinishi / python-stringcase

String case converter for python.
https://pypi.python.org/pypi/stringcase
MIT License
206 stars 36 forks source link

better implementation of camelcase #31

Open fogx opened 4 years ago

fogx commented 4 years ago

old camelcase implementation did not work for many cases (multiple capital, spaces, ...). New implementation should catch all problems

resolves Issue #30 and should make PR #24 redundant

bkmgit commented 1 year ago

This is nice, but only supports ASCII. A number of the tests also fail. If a space should be considered a separator, this should be done consistently, at the moment only -,_ and . are considered as separators.

bkmgit commented 1 year ago

Adding spaces and / seems reasonable for titlecase and pathcase conversions.

bkmgit commented 1 year ago

Also discussed in https://github.com/okunishinishi/python-stringcase/pull/36