As has been said, the wildcards should work, I have one set for some samples.
A screenshot of the Avast Alert, with the Details option selected my help to determine why your exception isn’t working.
Could it be that it isn’t running in isolation in that folder.