Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Drop-in replacement for grep #129
I assume there's a good reason why this seems not to have been done. However, I can't see it and think it would make it easier for people used to base regex to switch.
grep("z", letters) ##  26
which(str_detect(letters, "z")) ##  26
Just for ease of use on the UI - many people discover