Fix regexEscape error

a little bug
Signed-off-by: kaffa <kaffacoffee@outlook.com>