Jump to content
tullyhansen

Ignore leading punctuation when searching snippets

Recommended Posts

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 by tullyhansen
Formatting

Share this post


Link to post
Share on other sites
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. 

Share this post


Link to post
Share on other sites

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?).

Share this post


Link to post
Share on other sites
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.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...