or: Or

View source: R/or.R

%or%R Documentation

Or

Description

The special binary function %or% can be used to specify a set of optional matches.

Usage

x %or% y

or(...)

Arguments

x

A string.

y

A string.

...

shortcuts, R variables, text, or other rex functions.

See Also

Other rex: capture(), character_class(), counts, group(), lookarounds, not(), rex(), shortcuts, wildcards


kevinushey/rex documentation built on March 14, 2024, 4:17 a.m.