Fix regex escaping