Match regular expressions with a nicer API

WWW: https://cran.r-project.org/package=rematch
