lark-parser / lark

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
MIT License
4.75k stars 401 forks source link

Syntax break after escaped double quotes "\"" #1317

Closed Fxztam closed 1 year ago

Fxztam commented 1 year ago

I am trying to change my string definition with Single Quotes

and so I need also the definition of: DOUBLE_QUOTE : "\""

but this definition breaks after the escaped double quote "\"" .

Is there a way to define the double quote?

Thanks, Fried

erezsh commented 1 year ago

"\"" or /"/