Pattern is invalid. An escaping backslash cannot be at the end of the pattern and can only escape asterisk, question mark ...