Faulty regex consumes all memory and causes issues with pihole -q

This is functionally the same issue as: Pi-hole becomes unresponsive during pihole -d and -q

Faulty regex causes -q (and, by extension -d) to stall out

(You're not alone!)