From 8a4d7a88ae6cdc89e4a794751307423d26892a69 Mon Sep 17 00:00:00 2001
From: Steven Levithan Try it
The output shows the result of calling toRegExp
. Oniguruma-To-ES includes functions to generate additional formats: compile
(returns an object with pattern
and flags
strings), toOnigurumaAst
, and toRegexAst
(for an AST based on regex
). You can run all of these from the console on this page. compile
and toRegExp
accept pattern and flags strings and an options object. toOnigurumaAst
and toRegexAst
accept a pattern and flags. You can also pass ASTs to printAst
.
The output shows the result of calling toRegExp
. Oniguruma-To-ES includes functions to generate additional formats: compile
(returns an object with pattern
and flags
strings), toOnigurumaAst
, and toRegexAst
(for an AST based on regex
). You can run all of these from the console on this page. compile
and toRegExp
accept pattern and flags strings and an options object. toOnigurumaAst
and toRegexAst
accept a pattern and flags. You can also pass AST results to printAst
.