added regex escaping for strings