Update with option to allow pattern matching in addition to string matching
Merge pull request #35 from emilford/master

Allow with option to accept string or regular expression