is.pattern.matching function

Tests whether a pattern and a data list (row of a data frame) match