Dependency-free drop-in alternative for stringr::regex().
regex(
pattern,
ignore_case = FALSE,
multiline = FALSE,
comments = FALSE,
dotall = FALSE
)An integer vector.
Pattern to modify behavior.
Should case differences be ignored in the match?
If TRUE, $ and ^ match the beginning and end of each line.
If FALSE, the default, only match the start and end of the input.
If TRUE, white space and comments beginning with # are ignored.
Escape literal spaces with \\.
If TRUE, . will also match line terminators.