Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constcase of "AAA_BBBB" is "A_A_A__B_B_B_B" #14

Open
expobrain opened this issue Jun 3, 2019 · 0 comments
Open

constcase of "AAA_BBBB" is "A_A_A__B_B_B_B" #14

expobrain opened this issue Jun 3, 2019 · 0 comments

Comments

@expobrain
Copy link

Converting into constcase an already constcase string produce and unexpected result:

In [3]: stringcase.constcase("AAA_BBBB")
Out[3]: 'A_A_A__B_B_B_B'

Trivia: stringcase.constcase("AAA_BBBB").lower() solves the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant