kaspiana / mage

A command-line tool for cataloguing images (particularly digital art), styled after Git.
0 stars 0 forks source link

Wildcards #21

Closed kaspiana closed 3 months ago

kaspiana commented 3 months ago

If a tag node's text contains an *, then that text should match any tag names which conform to it. For example:

Matching *_lalonde

Matching *rose*

Matching alpha!*

We can achieve this by simply finding all tag names that match the pattern, and then outputting them as a disjunction.