You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 21, 2025. It is now read-only.
I want to parse (lex) "He\"llo" "π€ππππ!" as two tokens He"llo and π€ππππ!. I couldn't find anything that would work. I think #79 is a similar issue. r'"(?:\\.|[^"\\])*"' idea from so didn't work as expected as it merged two strings. @_(r'''("[^"\\]*(\\.[^"\\]*)*"|'[^'\\]*(\\.[^'\\]*)*')''') trick from medium.com didn't work.
All sly json parsers out there use r"\".*?\"" which is wrong.
Is it even possible?