%or% {rex}R Documentation

Or

Description

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

describeIn or regular function can also be used, useful for more than 2 arguments.

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.1.2 Index]