Refactor matchers

* move regex related code to one place so that it's easy to swap
  underlaying regex library

* Add doctest (cabal test to run the test)
Merge branch 'stream' of github.com:ryo1kato/mlr-grep into stream