-
Notifications
You must be signed in to change notification settings - Fork 187
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
str_ilike()
#544
str_ilike()
#544
Conversation
- add str_ilike function - remove ignore_case argument from str_like - add tests of case sensitivity for both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! It's a long term process to fix a bug like this and I appreciate you sticking with it 😄
R/detect.R
Outdated
stri_detect_regex(string, pattern, opts_regex = opts(pattern)) | ||
} | ||
|
||
#' Detect a pattern in the same way as `SQL`'s `ILIKE` operator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could combine the docs for these two functions. It'd also be useful to add a note about the incorrect behaviour of older versions of str_like()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant using @rdname
; see the changes I just pushed.
Co-authored-by: Hadley Wickham <[email protected]>
Co-authored-by: Hadley Wickham <[email protected]>
Fixes #543