The special binary function %or%
can be used to specify a set
of optional matches.
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