In reply to a tweet (local archive, Twitter) by @thingskatedid

Kate

@thingskatedid

PCRE has a few ways to spell the same thing, \x2E and \x{2E} both lex to the same token. We need the spelling to decode the escape sequence, but the next phase doesn't need to know. This sort of falls in between lexing and parsing.