Non-greedy match

How do I prevent beet mod -a genre:Pop from matching “Rock.Pop” genre tags and limit the matches to “Pop” proper?

Try a regular expression query! Then you can use ^ and $ to ensure you’re matching the whole string.

1 Like