OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Peter H. Coffin (hellsop_at_ninehells.com)
Date: Thu Jan 02 2003 - 15:03:20 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Thu, Jan 02, 2003 at 02:07:24AM -0500, Phil Stracchino wrote:
    > On Thu, Jan 02, 2003 at 12:48:26AM -0600, Noel Jones wrote:
    > > - Nearly all your matches are right-anchored with a $. Are you sure
    > > this is what you want? This will only match if an address header ends
    > > with the specified text.
    >
    > Actually, thinking more about it, no it probably isn't in many cases,
    > since Postfix checks the entire header line, not just one address at a
    > time. I should think about how to do that better. I really need to be
    > able to match against either end-of-line there, or a comma.
    >
    > Hmmm .... perhaps an optional comma followed by whitespace, since I
    > believe EOL is considered whitespace...?

    It is, but perhaps you're looking for "[^0-9a-z.]"? That'll
    take the whitespace, and the comma, and ">", and any other foolishness
    that isn't interpretable as a part of the address.

    -- 
    "'I'm not sleeping with a jr. high schooler! I have a life-sized doll that
    looks like one.' Uh huh. That sounds SO much less pathetic." 
                     -- Piro's Conscience  www.megatokyo.com