Hi there Thomas, Thanks for the reply.
On 01/20/2015 02:48 PM, Thomas Eckardt wrote: > BadAttachL1:=\.(ad[ep]|asx|ba[st]|chm|cmd|com|cpl|crt|dbx|exe|hlp|ht[ab]|in[fs]|isp|js|jse|lnk|md[abez]|mht|ms[cipt]|nch|pcd|pif|prf|reg|sc[frt]|sh[bs]|vb|vb[es]|wms|ws[cfh]|zip) > > reading the GUI for BadAttachRe I can see: > > This regular expression is used to identify Level 1 attachments that > should be blocked. > Separate entries with a pipe |. The dot . is assumed to precede these, so > don't include it. Ah, thanks. This is probably what my problem was. > For example: > ad[ep]|asx|ba[st]|chm|cmd|com|cpl|crt|dbx|exe|exe\-bin|hlp|ht[ab]|in[fs]|isp|js|jse|lnk|md[abez]|mht|ms[cipt]|nch|pcd|pif|prf|ps1?|reg|sc[frt]|sh[bs]|vb|vb[es]|wms|ws[cfh] > > Now tell me, why you use: > > \.(.....) I assumed that 1 regex match with (a|b|c) would be quicker than a|b|c . The \. was lost in my configuration, I assumed I must match the . too. > > assp will now search for example : file..zip - which will never match Ok, so the info line just means it attempted a match, but did not match, right? -N ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Assp-user mailing list Assp-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-user