Oniguruma-To-ES GitHub

This is a basic REPL for testing the output of Oniguruma-To-ES, an Oniguruma to JavaScript RegExp transpiler. See Oniguruma syntax for an overview, but there are many subtleties to Oniguruma's differences from JavaScript that aren't shown in the docs.

Try it

Flags:

target:

More options


    

The output shows the result of calling toRegExp. Oniguruma-To-ES includes functions to generate additional formats: compile, toOnigurumaAst, and toRegexAst (for an AST based on regex). You can run all of these from the console on this page.

More details