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

Add lowercase_after_regexp option #216

Merged
merged 1 commit into from
Oct 25, 2018
Merged

Add lowercase_after_regexp option #216

merged 1 commit into from
Oct 25, 2018

Conversation

julienfalque
Copy link
Contributor

This PR adds a new lowercase_after_regexp option that allows matching uppercase letters with the regular expression while still relying on Slugify to lowercase the slug. My use case is to slugify some class names, e.g. FooBar => foo_bar.

@florianeckerstorfer florianeckerstorfer merged commit af3c81f into cocur:master Oct 25, 2018
@julienfalque julienfalque deleted the lowercase-after-regexp-option branch October 25, 2018 15:42
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

Successfully merging this pull request may close these issues.

None yet

2 participants