Fix regex non-escaped issue