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 replacement function support #792

Closed
wants to merge 1 commit into from

Conversation

stefaneng
Copy link

Closes #791

"camelCase" = rex(start, maybe("."), lower, zero_or_more(alnum), maybe("<-"), end),
"snake_case" = rex(start, maybe("."), some_of(lower, digit), any_of("_", lower, digit), maybe("<-"), end),
"SNAKE_CASE" = rex(start, maybe("."), some_of(upper, digit), any_of("_", upper, digit), maybe("<-"), end),
"dotted.case" = rex(start, maybe("."), one_or_more(loweralnum), zero_or_more(dot, one_or_more(loweralnum)), maybe("<-"), end),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line went over 120 characters

@MichaelChirico
Copy link
Collaborator

I think the strip_names helper is supposed to be handling this case, could you try reworking that instead?

@stefaneng
Copy link
Author

Sorry, I had other issues going on with the code. Works as expected

@stefaneng stefaneng closed this Apr 7, 2021
@stefaneng stefaneng deleted the replacement-functions branch April 9, 2021 17:25
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.

Replacement functions are incorrectly marked as errors
2 participants