%or% {rex}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


[Package rex version 1.2.1 Index]