Oniguruma regex optimizer
Test the output of oniguruma-parser's optimizer module, which minifies Oniguruma regexes and improves their performance.
Try it
More options
See the optimizer readme for more details. The output shows the pattern property from the optimize function's result. Library functions including toOnigurumaAst, parse, traverse, generate, and optimize can be run from the console on this page. Pretty-print ASTs by passing them to printAst.