meteor-autocomplete icon indicating copy to clipboard operation
meteor-autocomplete copied to clipboard

which token is supported ?

Open leizard opened this issue 10 years ago • 3 comments

I found that autocomplete works fine with tokens such as: " ! ", "@" , ":" , "&" . But it can't recognize some token such as: "+" , " * " . where can I find the list of supported tokens ? Thank you.

leizard avatar Aug 27 '15 03:08 leizard

This is probably because those other tokens need to be escaped before being put in the autocomplete regex:

https://github.com/mizzao/meteor-autocomplete/blob/master/autocomplete-client.coffee#L23

Maybe you could add a PR to escape certain tokens properly before using them?

mizzao avatar Aug 27 '15 13:08 mizzao

thank you for your reply. I will look further for string escape.

leizard avatar Aug 28 '15 05:08 leizard

Also noted that "$" is not recognized. Any chance this is being worked on?

chazsolo avatar Jan 22 '16 13:01 chazsolo