telekons / one-more-re-nightmare

A fast regular expression compiler in Common Lisp
https://applied-langua.ge/projects/one-more-re-nightmare/
BSD 2-Clause "Simplified" License
138 stars 9 forks source link

Equivalent of ? and {n,m} for POSIX ERE feature parity #17

Closed q3cpma closed 2 years ago

q3cpma commented 2 years ago

Title says it all, having equivalents would be nice.

no-defun-allowed commented 2 years ago

They would. Baumann's paper mentions implementing both in terms of a generic "repetition" construct, which would be simpler than what we do now, even, so the current state of repetition is silly.

no-defun-allowed commented 2 years ago

Done with 73a949b.