get_num_hits: Get the number of hits for a series of regexes

View source: R/utils.R

get_num_hitsR Documentation

Get the number of hits for a series of regexes

Description

Get the number of hits for a series of regexes

Usage

get_num_hits(regex, x, fixed)

Arguments

regex

vector of regular expressions against which to match

x

character vector where matches are sought

fixed

logical. If TRUE, regex are strings to be matched as is.


datacamp/testwhat documentation built on June 26, 2022, 9:07 a.m.