ignore.case {stringr}R Documentation

Ignore case of match.

Description

This function specifies that a pattern should ignore the case of matches.

Usage

  ignore.case(string)

Arguments

string

pattern for which to ignore case

See Also

Other modifiers: fixed, perl

Examples

pattern <- "a.b"
strings <- c("ABB", "aaB", "aab")
str_detect(strings, pattern)
str_detect(strings, ignore.case(pattern))

[Package stringr version 0.6 Index]