Rulex

A new, portable, regular expression language.

Get Started Playground

GitHub v0.4

Examples

Compatible

Rulex is transpiled to normal RegExp's, so you can use it anywhere

Readable

Rulex is whitespace insensitive and supports comments. The syntax is simple and intuitive

Unicode Support

Rulex polyfills Unicode support for RegExp engines that are stuck in the last century

Familiar

If you know RegExp's, the syntax will immediately make sense

Advanced Features

Rulex adds unique features such as number ranges and variables for even more expressiveness

Good Error Messages

We value your time. Error messages are informative and show the erroneous parts of the code