regexp

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
first regexp
/\s.*define(\s)*?(\()\s*?function*?\s*?\(require\s*?,\s*?exports\s*?,\s*?module\1*?\)\s*\)\s*?\{\s?/.test("xx define  ( function  (     require ,exports , module)   )  { yy");
ready
second regexp
/\s.*define(\s)*?(\()\s*?function*?\s*?\(\s*?require\s*?,\s*?exports\s*?,\s*?module\1*?\)\s*\)\s*?\{\s?/.test("xx define  ( function  (     require ,exports , module)   )  { yy");
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.