Meteor-Community-Packages / meteor-autocomplete

Client/server autocompletion designed for Meteor's collections and reactivity.
https://atmospherejs.com/mizzao/autocomplete
MIT License
350 stars 109 forks source link

Escape regular expression token #120

Closed chazsolo closed 1 year ago

chazsolo commented 8 years ago

Some tokens like "$" or "*" would not work as a matching token because of their special uses in regular expressions. Adding an escape before the token allows a much broader range.