Skip to contents

Construct regex for Boolean-or.

Usage

or_pattern(x, at_start = TRUE, at_end = TRUE)

Arguments

x

Character vector of alternative patterns.

at_start

Match only at the start of strings.

at_end

Match only at the end of strings.