Fix regex escaping.