On Wed, Jan 11, 2023 at 12:01:43PM +0100, Michael Heerdegen wrote: > Ihor Radchenko writes: > > > I am wondering if we may instead just support traditional regexps as an > > extra PEG construct. Considering that regexp support is anyway built-in, > > why not? > > Dunno. I wrote the translator for academic interest and for > learning. > > AFAIR not all Emacs regexp features work in PEGs - backrefs for example. > Or match data handling. Plus, I don't think a PEG packrat parser is always as efficient as we know and love our regexps. Cheers -- t