Open FranklinChen opened 10 months ago
Yes, this isn't currently supported. Given that we currently use the Rust regex crate, if we wanted to do something like this, we'd have some interesting fun and games getting escaping right. So a basic version is pretty easy; a version with good error messages might be challenging.
I didn't see a way to do the following that can be done in lex:
so that patterns can be composed in definitions and definitions can be used in rules.