javve/list — pull request #103 by rnair510 (2013-01-09 20:05:30+00:00)
Title: Optional support for search matching on word boundaries and full words using regex

Added support for different types of search matching using regex. The performance appears to be quite similar with new versions of Chrome and Firefox actually being faster using .test() instead of .search() (See http://jsperf.com/exec-vs-match-vs-test/5).

Options are set using the "searchType" in the options field. The three options are

any: default option which matches on any position in the string. Example: no will match "equinox"
word: matches only from the start of regex word boundaries (\b). Example: no will match "nokia" and "pizza no" but not "equinox".
wordFull: matches only exact words with regex word boundaries on both ends. Example: no will match only "pizza no" and not "nokia" or "equinox"