Also at #SCUC, I was made aware of a recent @doctrine DBAL performance improvement in the SQL Parser and I learned how to combine patters and identify them with named argument captures.
Wrote about it here: https://tideways.com/profiler/blog/combining-regular-expressions-with-named-capture-groups-to-improve-performance