elidupuis/jquery-modal — comment on commit c56fe3ee6ae9d110d1876c55e5d03aff18f97f51
File:  line 0
By elidupuis:

Regex.test() returns only a true or false. String.match returns unnecessary array info (https://developer.mozilla.org/en/JavaScript/Guide/Regular_Expressions#Working_with_Regular_Expressions)

Theoretically, this will be faster. Barely :)