Re: [opensuse] procmail rule confusion [OFF TOPIC]
- From: Anders Johansson <ajohansson@xxxxxxx>
- Date: Thu, 28 Apr 2011 15:24:05 +0200
On Thursday 28 April 2011 16:31:47 Dimstar / Dominique Leuenberger wrote:
On Thu, 2011-04-28 at 14:55 +0200, Roger Oberholtzer wrote:
* ^From:.*hermes@opensuse\.org
* ^Subject:.*openSUSE_11\.2*
Shouldn't there be a dot before the 2? I'm not sure if procmail uses
regular expressions, but if it does that means "0 or more instances of
'2'" and would match openSUSE_11. regardless of what follows, no?
Hmm. I was expecting the \. to be an escaped period. Meaning that a
literal period is needed to make a match. The period in the rule string
should have no special regexp meaning and be satisfied only by a literal
period at that place in the test string. Did I get this wrong?
Anders actually meant to have a . AFTER the 2, not before.
Ah, yes, "slight" typo there. Thanks for correcting it :)
Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] procmail rule confusion [OFF TOPIC]
- From: Roger Oberholtzer
- Re: [opensuse] procmail rule confusion [OFF TOPIC]
- From: Roger Oberholtzer
- Re: [opensuse] procmail rule confusion [OFF TOPIC]
- From: Dimstar / Dominique Leuenberger
- [opensuse] procmail rule confusion [OFF TOPIC]
- Prev by Date: Re: [opensuse] procmail rule confusion [OFF TOPIC]
- Next by Date: Re: [opensuse] procmail rule confusion [OFF TOPIC]
- Previous by thread: Re: [opensuse] procmail rule confusion [OFF TOPIC]
- Next by thread: [opensuse] opensuse on a macbook
- Index(es):