Simplify grep pattern matching
Merge pull request #2 from mbarszcz/simplify_pattern_matching

Simplify grep pattern matching