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

capitalized acronyms split by underscores using snake case conversion. Would be great to have option to preserve grouping #51

Open
Simo-climb opened this issue Jun 7, 2021 · 0 comments

Comments

@Simo-climb
Copy link

when converting the following string to snake case

WA Licensed Surveyors (Transfer of Land Act 1893) Regulations 1961

the expected result with preseverd leading acronym "WA" was

wa_licensed_surveyors_transfer_of_land_act_1893_regulations_1961

but the returned result for this and other strings with capitalized acronyms was

w_a_licensed_surveyors_transfer_of_land_act_1893_regulations_1961

if there is an acronym anywhere in the string it is split by underscores.

it would be good to be able to configure this option to be disabled to preserve the string element, or have another form of the snake case conversion that preserves the acronym.

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