[PLUG] regex help requested

Rich Shepard rshepard at appl-ecosys.com
Tue Nov 19 22:31:06 UTC 2002


On Tue, 19 Nov 2002, Galen Seitz wrote:

> It sounds like you need something like /@mail\.com\([^a-zA-Z0-9.-]\|$\)/
> 
> I'm not familiar with the regex's used in postfix, so I don't know
> whether this will actually work.  The intent is to match mail.com either
> when it is followed by either a character which is not valid in a domain name
> or end of line.
 
galen,

  Aha! Extrapolating from your example above, I get
		/@mail\.com.*$/

  Let me think about this; perhaps I'll give it a try.

Thanks,

Rich






More information about the PLUG mailing list