Match a set of text excerpts against a set of regular expressions

expression.match(excerpts, expressions, names = list(NULL, "V1"))

Arguments

excerpts

Character vector to match against

expressions

Character vector of expressions

names

Character vector to use for dimension names

Value

Matrix representing matched expressions