Match a set of text excerpts against a set of regular expressions
expression.match(excerpts, expressions, names = list(NULL, "V1"))
excerpts | Character vector to match against |
---|---|
expressions | Character vector of expressions |
names | Character vector to use for dimension names |
Matrix representing matched expressions