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

Align the default case-sensitivity of matches with the regex default #7656

Open
ReedMerrill opened this issue Feb 7, 2025 · 1 comment
Open

Comments

@ReedMerrill
Copy link

matches accepts a regex for pattern matching within tidyselect functions and, in my opinion, would therefore be more user-friendly if it had the same default case-sensitivity behaviour as regex. Right now, matches is not case sensitive.

This issue proposes switching the default value of the ignore.case parameter from TRUE to FALSE. I'm happy to submit a pull request, but will wait to see how much traction this issue gets.

@ReedMerrill ReedMerrill changed the title Align the default case-sensitivity of matches which the regex default Align the default case-sensitivity of matches with the regex default Feb 7, 2025
@ReedMerrill
Copy link
Author

This would be a breaking change, but it would be nice if dplyr functions could behave as expected with regex.

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