deanishe / zothero

Rapidly search and cite Zotero entries from Alfred
MIT License
477 stars 31 forks source link

How to modify the search reg-ex? #58

Open tophee opened 3 years ago

tophee commented 3 years ago

Thanks for making this worklflow!

I'd like to change the way multiple search terms are handled. I'm new to python but I traced my way to the zh script but from there I figured I need to go to the zothero module and find app in it. But I haven't been able to figure out where that module is. Python doesn't seem to know of it. What am I missing? Could you give me a pointer?

In case you are wondering what I want to change: let's say I have a Zotero reference with the title "Quick brown fox". I would want that to be in the search results when I search for qui fo. Currently, quick fo will work, but not quick fo (note the space at the end).