luckman212 Posted October 22, 2019 Share Posted October 22, 2019 (edited) Specs macOS 10.15 (19A602) Alfred 4.0.5 [1118] I've got a List Filter in a workflow that contains an item named "foobar (baz)". I want to be able to select this item by matching on the word "baz" (in the parentheses). But, when I try this, nothing is found: If I remove the parens from the list item name, it works as expected. Can this be fixed? The same bug also applies to other forms of brackets e.g. curly braces `{ }` and square brackets `[ ]` Edited October 24, 2019 by luckman212 Link to comment Share on other sites More sharing options...
deanishe Posted October 22, 2019 Share Posted October 22, 2019 26 minutes ago, luckman212 said: The same bug Technically, it's not a bug, but a deliberate implementation choice. I don't really understand why, but matching is extremely (excessively, imo) strict in Alfred. The application/preferences search has a nice fuzzy algorithm, and you can tweak the settings a bit yourself with File Filters. But otherwise, you're stuck with strict "word starts with" matching that doesn't consider dashes, brackets or any other punctuation to be delimiters. You could try adding your voice to one of the many threads requesting more flexible matching in the Feature Suggestions forum. Link to comment Share on other sites More sharing options...
luckman212 Posted October 22, 2019 Author Share Posted October 22, 2019 Ok. Hmm, that's a shame. Most of those threads your link points to are about "fuzzy" or searching... this is similar but not quite the same. I'm not asking for the filter to match "foobar" when typing just "ba". I simply want Alfred to consider a 100% match to words that are bounded by common punctuation marks such as period, dash, parens, brackets etc. Seems like this is a much smaller leap than asking @Andrew to implement true fuzzy searching across the app. Link to comment Share on other sites More sharing options...
deanishe Posted October 22, 2019 Share Posted October 22, 2019 (edited) 16 minutes ago, luckman212 said: this is similar but not quite the same. I understand that. I'm not stupid. But there aren't any results for "brackets" or "parentheses", and "search" brings up a whole lot of irrelevant, so I thought that it would be better that you post in an existing thread on more flexible search semantics rather than open yet another one. 16 minutes ago, luckman212 said: Seems like this is a much smaller leap than asking @Andrew to implement true fuzzy searching across the app. It is, but they're not unrelated, are they? Edited October 22, 2019 by deanishe Link to comment Share on other sites More sharing options...
Andrew Posted October 24, 2019 Share Posted October 24, 2019 I'm going to look at fixing this for 4.1, and also bringing across the options from the Script Filter when you select "Alfred Filters Results" for consistency. Cheers, Andrew luckman212 1 Link to comment Share on other sites More sharing options...
luckman212 Posted October 24, 2019 Author Share Posted October 24, 2019 Wow, this is wonderful news @Andrew ! I'll be at the front of the queue to test this. Link to comment Share on other sites More sharing options...
luckman212 Posted May 4, 2022 Author Share Posted May 4, 2022 Hi @Andrew any more thoughts here? We're all the way up to 4.6 now and still can't match words inside parentheses () ... this includes snippets names as well which bit me today as I was looking for something. I hope you're still considering some improvement here, thanks Link to comment Share on other sites More sharing options...
vitor Posted August 21, 2022 Share Posted August 21, 2022 @luckman212 The new word matching behaviour takes punctuation into account. Link to comment Share on other sites More sharing options...
luckman212 Posted August 21, 2022 Author Share Posted August 21, 2022 Thanks @vitor — I actually noticed this by accident a few days ago and was well chuffed about it! I must have missed it in the release notes. Link to comment Share on other sites More sharing options...
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