Issue with label assignment

I want to create a label assignment, for example "Tempfiles" with .tmp- and .part-files.

When I enter wildcard ".part|.tmp" it doesn't work, but when I add a "grp:container|.part|.tmp" it works. :question:

(.part|.tmp) or *.(part|tmp) would be the correct syntax. | generally needs to be surrounded by ( ... ) as I understand it.

What you were doing worked with grp:container on the front due to a quirk of the way grp:xyz is expanded. It turns into *.(ext1|ext2|...) and then consumes any |x|y|z... things that come after it, so you were basically getting lucky there.

Ouch, I now remember that I did it that way in the past but forgot. Thanks for explanation.