SIGN IN SIGN UP

lark: support \xHH escapes in string literals (#354)

Fixes the `\xHH` case of #54. Lark string literals are decoded through
`serde_json`, which rejects `\xHH`, so this accepts `\xHH` in the string
lexer and rewrites it to the equivalent `\u00HH` before decoding, with a
test. Broader Python-Lark escape parity, notably `\UXXXXXXXX`, can
follow separately.
J
Jesse LaRose committed
8e8b13c277323523de7bfdf371e343c1bc78a962
Parent: 5d4ba26
Committed by GitHub <noreply@github.com> on 8/6/2026, 5:26:21 PM