rgx_lookahead: Create lookahead/-behind regex

View source: R/string-handling.R

rgx_lookaheadR Documentation

Create lookahead/-behind regex

Description

Creates a lookahead/-behind regex. See details for more.

Usage

rgx_lookahead(pattern, match = ".*", negate = FALSE)

Arguments

pattern

Character value. The pattern before/behind which the subsequent function looks.

match

Character value. The regex that must match the string before/behind the input of pattern.

negate

Logical value. If TRUE, function matches the part of input that does not match input for argument match.


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.