re.match: Pattern Matching and Extraction

Description Usage Arguments Details Value See Also

Description

Matches and extracts substrings using regular expressions.

Usage

1

Arguments

pattern

character string containing a regular expression.

x

a character vector where matches are sought, or an object which can be coerced by as.character to a character vector.

...

further arguments to be passed to regexec.

Details

This function is a wrapper for consecutive calls to regexec and regmatches.

Value

A matrix of matched substrings.

See Also

regexec and regmatches


omics documentation built on May 1, 2019, 8:45 p.m.

Related to re.match in omics...