Filter collection based on its names()
using regular expressions
names()
using regular expressionsutil_filter_names_by_regexps(collection, regexps)
collection
: a named collection (list, vector, ...)regexps
: character a vector of regular expressionscollection
reduced to entries, that's names match at least any expression from regexps
## Not run: # internal function util_filter_names_by_regexps(iris, c("epa", "eta")) ## End(Not run)
Other string_functions: util_abbreviate_unique()
, util_pretty_vector_string()
, util_set_dQuoteString()
, util_set_sQuoteString()
, util_sub_string_left_from_.()
, util_sub_string_right_from_.()
, util_translate()
Useful links
Downloads (last 30 days):