coduo/php-matcher — pull request #41 by cakper (2014-12-11 12:26:47+00:00)
Title: Add casting to bool for expression regex matches

Evaluating regular expressions returns number of matches (so 1 if exact match exists) and matcher is using strict comparison === in order to evaluate such value. Simple casting to boolean fixes the problem.