Regex: exec() vs search() and test() (version: 0)
Benchmark.js
Tests which method is the fastest way to get the beginning and end index of a regex match in a long string
Comparing performance of:exec() clean vs exec() fair using substring vs search() and test() using substring vs search() and test() using substr vs search() and test() using slice