emposha / FCBKcomplete

Jquery facebook like(fancy) multi-select
http://www.emposha.com
383 stars 115 forks source link

Error in illumination (displays "$3") #74

Closed CatoTH closed 12 years ago

CatoTH commented 12 years ago

Hi,

The "string_regex_adder + options.filter_case" in line 289 seems to result in defective illumination, displaying a "$3" at the end of each entry. Tested with Firefox 5. Surrounding the conditional statement with parentheses seems to fix the problem: var string_regex = string_regex_adder + (options.filtercase ? "(" + etext + ")(.)" : "(" + etext.toLowerCase() + ")(._)");

emposha commented 12 years ago

@CatoTH is this bug still exist?