|
|
|
|
|
by lozzo
1473 days ago
|
|
This project looks great.
Occasionally I need to write a reg expr (JS developer) and I am not that good at it and I always end up googling around.
I am thinking it would be much nicer if I could use rulex to generate my reg expr.
But is that what it is supposed to be for ?
cheers |
|
(Author of rulex here)
Yes, rulex is compiled to a regex. You can use it with the CLI or the online playground and insert the result into your source code. Eventually, I'd like to have a babel plugin that can transform a rulex`...` literal to the equivalent regex, but we're not there yet.