Tone Kravanja
2016-02-18 04:37:42 UTC
Hi!
I was trying to find and create the banned name for the filenames as recently exactly one type of files prevails as virus threat that is not yet detected by antivirus.
So as lately the attachments are named as invoice_scan_[random number].doc I was trying to create file filter that would detect words invoice and scan regardless to suffix.
So in $banned_filename_re I was trying to add it like this:
qr'(invoice|scan)$';
but it was in vain. As you see I have troubles to understand the regular expression here, so some help would be greatly appreciat
I was trying to find and create the banned name for the filenames as recently exactly one type of files prevails as virus threat that is not yet detected by antivirus.
So as lately the attachments are named as invoice_scan_[random number].doc I was trying to create file filter that would detect words invoice and scan regardless to suffix.
So in $banned_filename_re I was trying to add it like this:
qr'(invoice|scan)$';
but it was in vain. As you see I have troubles to understand the regular expression here, so some help would be greatly appreciat