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

Issue with single letter word between two #61

Closed
grolig opened this issue Jan 29, 2020 · 2 comments · Fixed by #195
Closed

Issue with single letter word between two #61

grolig opened this issue Jan 29, 2020 · 2 comments · Fixed by #195
Labels
help wanted Extra attention is needed

Comments

@grolig
Copy link

grolig commented Jan 29, 2020

Describe the bug
Hi, then words are followed by single character word next underscore is not converted.

To Reproduce
Steps to reproduce the behavior:
humps.camelize('test_n_test')
result: testN_test

Expected behavior
result : testNTest

@kevlarr
Copy link

kevlarr commented Feb 14, 2020

Just noticed this too - I was expecting a field like p_value to get camel-cased to pValue

@dereklukacs
Copy link

bump on this issue.

similar to @kevlarr , decamelize properly does

pValue ---decamel--> p_value

p_value ---camel---> p_value

I would expect this to be symmetric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants