We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From the docs:
That is, “HelloWorld” is segmented Hello|World whereas “XMLHttpRequest” is segmented XML|Http|Request.
I have identifiers with single character words in them. I'd love it if they were snake_cased as separate words, e.g.:
assert_eq!("ABCD".to_snake_case_from_pascal_case_strict() == "a_b_c_d") assert_eq!("ABCcD".to_snake_case_from_pascal_case_strict() == "a_b_cc_d")
This would be the exact inverse of to_pascal_case() for snake_case text, i.e.:
to_pascal_case()
assert_eq!(text.to_snake_case().to_pascal_case().to_snake_case_from_pascal_case_strict() == text.to_snake_case())
Plaground link
The text was updated successfully, but these errors were encountered:
I suppose that option can be added, not sure how much the maintainer will care to merge it though.
Sorry, something went wrong.
This could be supported by the API I descibed in #18 (comment).
No branches or pull requests
From the docs:
I have identifiers with single character words in them. I'd love it if they were snake_cased as separate words, e.g.:
This would be the exact inverse of
to_pascal_case()
for snake_case text, i.e.:Plaground link
The text was updated successfully, but these errors were encountered: