![]() |
| Regular expression pattern for exclussions |
|
alch
Site Admin
|
clamwin will escape \ into \\ internally
to exclude all filesand subfolders under c:\test: <C:\test\.*> There are a few RegEx guides online. For RegEx syntax you may use this one: https://docs.python.org/lib/re-syntax.html |
||||||||||||
|
|
|||||||||||||
| Previous example doesnt work |
|
zmandel
|
the previous post says that clamwin internally escapes \. It appears that this is NOT the case.
I just tested it and you must escape the \ yourself to \\. So a simple example, to exclude c:\test you will need to add: <c> When I wrote that I couldnt find it anywhere on the web, i didnt mean a regex guide, there are lots arround. I meant that there are different syntaxes and are not standard, so just saying "use a regular expression" is not enough, it needs more detail. An example would be the escaping of \. I think it needs to have an example on the dialog itself. |
||||||||||||
|
|
|||||||||||||
| again |
|
zmandel
|
The messsage board is getting confused about double backslash so my example doesnt show right in my previous post.
The simple example should look like the example given by alch, but double-backslash everywhere there is a \ |
||||||||||||
|
|
|||||||||||||
| Regular expression pattern for exclussions |
|
||
|
Powered by phpBB © phpBB Group
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.


