Re: regular expression in header_check question

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, donovan jeffrey j wrote: /^From: .*viagra/ DISCARD viagra foo what does the dot asterisk do ? will that cover the ( " " ) quotes? Strongly advise you read man grep Skip over the section on options and you will find a complete description of the syntax of regular expre

Re: regular expression in header_check question

2010-05-04 Thread donovan jeffrey j
On May 4, 2010, at 3:23 AM, Ansgar Wiechers wrote: > On 2010-05-03 donovan jeffrey j wrote: >> im working on a header check to filter out anything that says Viagra >> in the From: line. My question,.. is how do I handle the quotes ? >> >> here is a sample header >> >> From: "Viagra US supplier"

Re: regular expression in header_check question

2010-05-04 Thread Ansgar Wiechers
On 2010-05-03 donovan jeffrey j wrote: > im working on a header check to filter out anything that says Viagra > in the From: line. My question,.. is how do I handle the quotes ? > > here is a sample header > > From: "Viagra US supplier" > From: "Viagra US dealer" > > > here is what i want to

regular expression in header_check question

2010-05-03 Thread donovan jeffrey j
Greetings im working on a header check to filter out anything that says Viagra in the From: line. My question,.. is how do I handle the quotes ? here is a sample header From: "Viagra US supplier" From: "Viagra US dealer" here is what i want to use , is this the correct syntax or do I need t