getmatches: getmatches

View source: R/misc.r

getmatchesR Documentation

getmatches

Description

get all regex-matches from a list of strings. e.g.: unlist(getmatches("rs[0-93,16", book)) will return all rs-ids from a

Usage

getmatches(pattern, txt)

inkeso/miscfun documentation built on Feb. 3, 2025, 5:33 p.m.