Closed bayleedev closed 8 years ago
When searching it should be a case sensitive match.
Question: is it faster to lowercase both and indexof? or regex with i flag?
i
Regex is faster.
http://fiddle.jshell.net/ptw4npuz/
Fixed in 6b44ba061cfe065df30b7e477561e6a6dd37ddad
When searching it should be a case sensitive match.
Question: is it faster to lowercase both and indexof? or regex with
i
flag?