propelorm/Propel2 — pull request #319 by GromNaN (2012-11-22 23:39:45+00:00)
Title: Small optimization to use strpos instead of preg_match

Use `strpos` instead of `preg_match` to detect `LIKE` comparison.

In addition, this prevent from WTF effect in case someone want to use something like:

$query->filterByTitle('%foo*%');

I can add a test on that.