Added soft regex escaping to allow query using unicode