Re: [SLUG] reg exp q on eml
At Tue, 22 Mar 2005 08:32:07 +1100 (EST), Voytek Eymont wrote: > em(ai)?l > does it mean 'eml and/or ail' ? no, that means "email" or "eml" (ie, with or without the "ai") -- - Gus -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] reg exp q on eml
I have something like this in my header checks: /^Content-(Disposition|Type):\s+.+?(?:file)?name="?.+?\.(386|ad[ept]|app|as[dpx]|ba[st]|bin|btm|cab|cbt|cgi|chm|cil|cla(ss)?|cmd|cp[el]|crt|cs[chs]|cvp|dll|dot|drv|em(ai)?l|ex[_e]|fon|fxp|hlp|ht[ar]|in[fips]|isp|jar|jse?|keyreg|ksh|lib|lnk|md[abetw]|mht(m|ml)?|mp3|ms[ciopt]|nte|nws|obj|ocx|ops|ov.|pcd|pgm|pif|p[lm]|pot|prg|reg|sc[rt]|sh[bs]?|slb|smm|sys|url|vb[esx]?|vir|vmx|vxd|wm[dsz]|ws[cfh]|xms|\{[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}\})\b/ REJECT hc1 ".$2" file attachment types not allowed I need to allow '.eml' files, is this the expresion that is stopping them: em(ai)?l does it mean 'eml and/or ail' ? what's an 'ail', is there such attachement ? -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html