2 ms·
Perl's regex engine actually supports defining regex in human readable groups[0] which I think is pretty nice. In my regex engine[1], I'm adding support for a
by slimsag 5y ago
Perl's regex engine actually supports defining regex in human readable groups[0] which I think is pretty nice.
In my regex engine[1], I'm adding support for a blended mix of plain regex syntax and EBNF-like definition syntax, so you can do something similar.
[0] https://stackoverflow.com/a/1917982 https://stackoverflow.com/a/1917982
[1] https://github.com/hexops/zorex https://github.com/hexops/zorex