Learn R Programming

stringb (version 0.1.17)

text_detect: generic function to test if a regex can be found within a string

Description

generic function to test if a regex can be found within a string

text_detect default method

generic function to test if a regex can be found within a string

Usage

text_detect(string, pattern, ...)

# S3 method for default text_detect(string, pattern, ...)

text_grepl(string, pattern, ...)

Arguments

string

text to be searched through

pattern

regex to look for

...

further arguments passed through to grep