Tay Posted July 20, 2024 Posted July 20, 2024 It seems that underscore "_" character has special meaning when searching in clipboard history. Then I have following questions: 1. What is the purpose of underscore? And how to use it? 2. How to search literal underscore character? Example here, I've input 8 underscore characters here, but the results seem unrelated at all:
FireFingers21 Posted September 25, 2024 Posted September 25, 2024 (edited) This seems like it could be related to how Alfred lets you search using wildcards, but the documentation for this is incomplete. @Vero made a mention of it a few years ago in reference to prefixing a search with an asterisk/wildcard star, so perhaps she could provide some insight. In my testing, I've found the %, *, _, and space characters all have unique/unexpected behaviour when searching the clipboard history. This could also just be a bug, or at the very least a conflict with the clipboard history also being able to show snippets. Either way, it doesn't seem clear how one can search for items in the clipboard history containing the aforementioned characters. Edited September 25, 2024 by FireFingers21
vitor Posted September 25, 2024 Posted September 25, 2024 Welcome @Tay. This one slipped by at the time, sorry about that. @FireFingers21 Thank you for pointing that out, making a note to look into that later. Do note that page is on file searching, not the Clipboard History. To answer the original question, Alfred’s Clipboard History is saved in a SQLite database, which is why % is replaced with “zero or more characters” and _ is replaced with “any single character”. Then space and * behave the same as %, for ease of use and familiarity. Agreed we should document the behaviour. Will discuss ideas internally. FireFingers21 1
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