Fixed regex escaping