Hacker News new | ask | show | jobs
by Aloso 1471 days ago
> But is that what it is supposed to be for?

(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.