Use regexp machters to be resilient against small differences in SQL generation