implemented match_* methods
Merge pull request #1 from nupfel/master

implemented match_* methods