str_extract_group: Extract a single match group

Description Usage Arguments Details

View source: R/util.R

Description

Extract a single match group

Usage

1

Arguments

group

Which capture group to extract. Integer.

Details

Meant to make the common pattern of 'str_match()[, 2]' easier to write and easier to read.


lukerobert/luketools documentation built on Jan. 24, 2020, 2:15 a.m.