or: Or

Description Usage Arguments See Also

View source: R/or.R

Description

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

Usage

1
2
3
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


rex documentation built on Nov. 26, 2021, 5:21 p.m.