tullyhansen Posted December 14, 2017 Posted December 14, 2017 (edited) Currently a search for github in snippet viewer/clipboard history won't find my snippet named Issue (GitHub) as I'd expect… was tempted to file this as a bug, but I think it's just Alfred's search being naïve/speedy and using whitespace as word boundaries? Kinda also relates to the search improvement suggestions over here: Edited December 14, 2017 by tullyhansen Formatting
deanishe Posted December 14, 2017 Posted December 14, 2017 5 hours ago, tullyhansen said: Alfred's search being naïve/speedy and using whitespace as word boundaries? This is most likely what’s happening. From what Andrew has said about it, Alfred’s search is tuned for large datasets (simple, strict matching rules). Given its limitations, it might be worth considering a naming scheme like GitHub: Issue instead.
tullyhansen Posted December 14, 2017 Author Posted December 14, 2017 Hey @deanishe – thanks for the heads up! I can see the argument for having search be the way it is – this just threw me, that's all. Thanks for the info and workaround! I still like the idea that some leading punctuation might be ignored in this case, even if it was some subset (only usually paired characters – inverted commas, braces, parentheses?).
Vero Posted December 14, 2017 Posted December 14, 2017 @tullyhansen You can also use a star as wildcard to match partial words, e.g. "*pet" will match "Snippet" Cheers, Vero
deanishe Posted December 14, 2017 Posted December 14, 2017 1 hour ago, tullyhansen said: some leading punctuation might be ignored Andrew has talked about considering other characters as delimiters in addition to whitespace. Something more radical may be required if Alfred is to support Pinyin. We’ll have to wait and see.
tullyhansen Posted January 3, 2018 Author Posted January 3, 2018 Ah! Thanks both, especially @Vero for the asterisk tip!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now