zendframework/zf1 — pull request #441 by globin (2014-10-17 13:31:47+00:00)
Title: Loosen regex to allow nested function calls in SQL

This essentially is a recursive regex to ensure balanced parentheses.
Partially fixes regressions from #420 including #424, but not SQL subqueries.