xivdev / Penumbra

FINAL FANTASY XIV modding, but actually good this time
581 stars 114 forks source link

Multiple tags and search options #425

Closed rmmyre221 closed 3 weeks ago

rmmyre221 commented 3 weeks ago

Here's a (hopefully reasonable) attempt at allowing for a more complicated search on the mods. Wrote up a regex function to break into blocks(individual words work as separate search filters, and quotes ('"`) will group search terms together alone or after a tag).

multi term will show all mods containing 'multi' and 'term'

'multi term' will search the string 'multi term'(without quotes)

t:multi term will return anything with a tag containing multi, and containing 'term'

t:'multi term' will only return mods with tags containing 'multi term'

Ottermandias commented 3 weeks ago

Sorry, I do not like this implementation. It is rather neat, but I'd want an actual booru-like search if I expand on the filters. I'll try implementing something custom.