slevithan/xregexp — pull request #75 by d10 (2014-09-05 13:00:17+00:00)
Title: Optimize `indexOf`

Use a simple `for`-loop as it is faster than native function.

See [jsPerf](http://jsperf.com/thor-indexof-vs-for).