Compile regex rule in Node.js?

javascript, node.js, regex

Solution

V8 compiles regexes automatically. See http://www.scribd.com/doc/16921039/V8-Internals-Building-a-High-Performance-JavaScript-Engine

Problem

Is it possible to compile regex rules in Node.js for faster usage?

Original source