Open CJex opened 9 years ago
@JexCheng hi! First of all we owe you a super big thanks. We're making a visual language that compiles to RegEx in order to make it more clean to write complex regexp. And we had to write a reverse compiler to compile back regexp into my language. In that project we extensively used Regulex's parser. (we also have a TypeScript deceleration file for regulex that I'm working on and will soon contribute it back to you). So we wanted to say thank for you awesome parser. We tried many projects and none of them had an AST better than yours, without your parser we had to go so much more far to have it.
As in RegExp Unicode Property Escapes by TC39 there are now some more Unicode sets that you can add with \p{ .. }
and exclude with \P{ ... }
:
/\p{Decimal_Number}/u
There are some good documentations here. As we are now heavily dependent on Regulex's parser we want to invest on it. If you like we like to contribute back. So we like to handle this. Just we would love to know how you like the AST structure for this new elements to be.
@pmkary This project will be fully rewrited in another compile to js X language(but keep AST compatible), so currently these features would not be made in this version.
Thank you. So I think we have to fork the project. Looking forward towards your new compiler.
How about now :eyes:
Support
/\u{12345}/u
.