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

kebab-cased string returns a Kebab-Cased #1299

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

dramlian
Copy link
Contributor

@dramlian dramlian commented Oct 9, 2023

fixes #1282

Adjusted regex to handle converting from kebabed to pascalized.
Pascalize now works properly when first character is the separator.
Pascalize also works if there are multiple character separators such as "--"/"__" or two spaces.
All additions are covered in unit tests, all tests have passed succesfully.

@dramlian
Copy link
Contributor Author

dramlian commented Oct 9, 2023

@dotnet-policy-service agree

@SimonCropp SimonCropp added this to the v3.0 milestone Feb 15, 2024
@SimonCropp SimonCropp merged commit 5f30979 into Humanizr:main Feb 15, 2024
@SimonCropp
Copy link
Collaborator

thanks for the contribution

@SimonCropp SimonCropp changed the title From kebabed to pascalized fix Issue#1282 kebab-cased string returns a Kebab-Cased Feb 22, 2024
@SimonCropp SimonCropp added the bug label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pascalize a kebab-cased string returns a Kebab-Cased string.
2 participants