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

Kate

@thingskatedid

\x2e, \. and the dot inside [.] all get lexed as different *single* tokens. I throw away the information about exactly how each token is spelled, and keep just their decoded character value. So these all produce the same "literal character value" node in the grammar.