issa-tseng / awesomecomplete

A lightweight autocomplete plugin for jQuery. Autocomplete that doesn't suck — I think.
http://dontexplain.com/2009/08/jquery-plugin-lautocomplete/
52 stars 7 forks source link

Escaping of regex special chars does not work properly #10

Closed thanosp closed 12 years ago

thanosp commented 12 years ago

All regular expression special characters within terms are being replaced with the string '$1' because there are no parentheses to form a match.

For example autocompleting "test+" will never show "test+test" as a match as it's being replaced with "test\$1".

issa-tseng commented 12 years ago

I guess closing a pull request doesn't close the issue.