get_matches: Get all matches

View source: R/helper_functions.R

get_matchesR Documentation

Get all matches

Description

Helper function to be used in a loop to check each pattern provided for matches

Usage

get_matches(string, pattern, i, ...)

Arguments

string

a character vector where replacements are sought

pattern

Character string to be matched in the given character vector

i

an iterator provided by a looping function

...

arguments to pass to gregexpr


bmewing/mgsub documentation built on Nov. 4, 2022, 1:57 p.m.