doctrine/common — pull request #224 by fruit (2012-11-20 23:39:01+00:00)
Title: Use preg_quote() to escape text before inserting into regexp

PHP has build-in function `preg_quote()` in order to escape strings witch are dynamically inserted into regular expression.