Re: [exim] Why does this regex not match?

2008-09-21 Thread W B Hacker
Robert Nicholson wrote: > So I've got mail that has headers like this > > From: "=?windows-1255?B?4+X46fog+ezp5S349Oz38eXs5eLp+g==?=" > <[EMAIL PROTECTED]> > > Subject: > =?windows-1255?B?7PHl6/j66e0g5ezu6+Dl4ekg+OLs6entIC0g7uXu7uz1IOHp5fr4?= > > and so I have regular expressions like this > >

Re: [exim] Why does this regex not match?

2008-09-21 Thread Marc Sherman
Robert Nicholson wrote: > > Now whilst this regular expression is quite convoluted even if I just > put $header_from: does not match "windows" it still doesn't match > > Can anybody tell me why that's the case? > > In my case I don't want to copy mail with foreign charsets etc into > the bac

[exim] Why does this regex not match?

2008-09-21 Thread Robert Nicholson
So I've got mail that has headers like this From: "=?windows-1255?B?4+X46fog+ezp5S349Oz38eXs5eLp+g==?=" <[EMAIL PROTECTED]> Subject: =?windows-1255?B?7PHl6/j66e0g5ezu6+Dl4ekg+OLs6entIC0g7uXu7uz1IOHp5fr4?= and so I have regular expressions like this $header_from: does not match "\\s*=\\?(ks_c_56