quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.57k stars 293 forks source link

Lua Internals: replace standard Lua Patterns with `lpeg` grammars #4843

Open cscheid opened 1 year ago

cscheid commented 1 year ago

We use Lua patterns everywhere, but pandoc ships with lpeg and (lpeg.re) specifically. We should definitely switch to those.

(cc @cderv: lpeg is a great parsing engine, it turns out, and lpeg.re is a regex engine with | inside it :))

allenmanning commented 1 year ago