modifiers: Control pattern matching with modifier functions

modifiersR Documentation

Control pattern matching with modifier functions

Description

fixed()

Match the string literally.

regex()

Match using a POSIX 1003.2 extended regular expression.

perl()

The default, match using a perl-compatible regular expression.

Usage

perl(pattern, ignore_case = FALSE)

fixed(pattern)

regex(pattern, ignore_case = FALSE)

Arguments

pattern

character, a pattern to modify the behaviour of.

ignore_case

logical, should case-insensitive matching be used? Default is FALSE.


csdaw/stringrb documentation built on Aug. 13, 2022, 10:55 p.m.