Exceptions with regular expressions, is it possible? (SOLVED)

Hey there,

I was wondering, if it’s possible, to exclude files with certain name structure and certain file extension?
My C++ compiler (MinGW) creates a temp file in the %temp% folder (I’m using Win10 pro x64). Every time i try to compile my programs, Avast blocks that temporary .bat file, since it thinks it’s a generic virus.
To be more specific, when i press the “build and run”, it executes the “mingw32-make.exe” which creates a few temp files in the temp folder. One of those files is a .bat file with a structure r"make\d±\d+.bat" …Example “make1302-03.bat”. Number in the name of the make file are randomly generated.
Can i tell avast to make an exception for the files with this name structure (and how do i do that)?

Thank you in advance, TTŠ.

Exceptions only support wildcards (i.e. ? and *), not regular expressions.
So you can only set something like C:\Users\user\AppData\Local\Temp\make*-*.bat

Thank you very much! It works :smiley: :smiley: