/(?!(smtp.*)|(biz)).*\.rr\.com/ 554 ACL Baker test There is no *AND* So the .* will fill the entire thing And since (?!xxx) is a zero width test the .* is able to consume the whole thing
I tried /(?!(smtp.*)|(biz))(?=(.+)).*\.rr\.com/ 554 ACL Baker test Not quite that simple either So Give me a few mins on this one, I'm no wizard with these things either Hurts your brain and gotta reference the docs a lot :P -----Original Message----- From: Len Conrad [mailto:[EMAIL PROTECTED] Sent: Saturday, September 13, 2003 8:39 PM To: [EMAIL PROTECTED] Subject: [IMGate] Re: are we lazy as he says ? >ok, I commented out mine and pasted in yours: > >#/(smtp.*|biz)\.rr.com/ DUNNO > >/(?!(smtp.*)|(biz))(?=(^cpe)|(^cm)|(dhc)).*\.rr\.com/ 554 ACL Baker >test ok, but rr.com's subscriber PTR's are all over the map. not starting only with cpe, cm or dhc, but all kinds of weird stuff, no consistency at all. So what we want is a regex to block all rr.com PTRs except those containing "smtp" or "biz". I tried this: /(?!(smtp.*)|(biz)).*\.rr\.com/ 554 ACL Baker test But it matches everything with rr.com. help, Tom! Len
