global.extract.groups: Extract regex groups (global)

View source: R/yogitools.R

global.extract.groupsR Documentation

Extract regex groups (global)

Description

Globally excise regular expression groups from string vectors. I.e. only extract the all occurrences of each group within each string.

Usage

global.extract.groups(x, re)

Arguments

x

A vector of strings from which to extract the groups.

re

The regular expression defining the groups

Value

A list of matrix's containing the group contents, with one list item for every element of x, and with each matrix containing one column for each group and one row for each occurrence of the pattern.


jweile/yogitools documentation built on May 11, 2023, 7:42 p.m.