match: Infix regular expression match operator.

Description Usage Arguments Value

Description

Note: if lhs is not a string, this method tries to coerce it to one.

Usage

1
lhs %~% rhs

Arguments

lhs

the string to be matched

rhs

a regular expression string or RegularExpression object (obtained from 'get.regexp' or 'RE').

Value

a 'MatchResult' if there was a match, otherwise NULL.


jdidion/LikeThis documentation built on May 18, 2019, 11:30 p.m.