PCRE question

2014-11-13 Thread J.
Why does this text match the pcre? As I read it, there must be a line break after the underscores to match, but it's matching. Does . match linebreaks?: Text: For Testing Only: __ xxx From: My Name g...@test.com To: any one any@whatever.com PCRE rule:

Re: PCRE question

2014-11-13 Thread Viktor Dukhovni
On Thu, Nov 13, 2014 at 10:08:54AM -0800, J. wrote: PCRE rule: /*[\s\n\r]*(.*) (.*)@test.com/ REJECT testing Why does this text match the pcre? As I read it, there must be a line break after the underscores to match, Actually, no, because the [\s\n\r]* matches any

Re: PCRE question

2014-11-13 Thread Erwan David
Le 13/11/2014 19:08, J. a écrit : Why does this text match the pcre? As I read it, there must be a line break after the underscores to match, but it's matching. Does . match linebreaks?: Text: For Testing Only: __ xxx From: My Name g...@test.com To: any one

Re: PCRE question

2014-11-13 Thread J.
Thanks. I guess I'll have to dig into the SA rules for that then. From: Viktor Dukhovni postfix-us...@dukhovni.org To: postfix-users@postfix.org Sent: Thursday, November 13, 2014 10:17 AM Subject: Re: PCRE question On Thu, Nov 13, 2014 at 10:08:54AM -0800, J