Fix bug with too aggressive Unicode escape sequences

Fix bug with too aggressive Unicode escape sequences

Fixes #1308
I will potentially have to check for more than one backslash before the match though, e.g. for `\\\u{1}` where the backslash for the Unicode escape is not escaped.
I could do that with the position too of course, but I'm not sure it gets any cleaner.