Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Match all emails from all subdomains for a domain except one..

by hossman (Prior)
on Aug 09, 2003 at 00:26 UTC ( [id://282348]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Match all emails from all subdomains for a domain except one..
in thread Match all emails from all subdomains for a domain except one..

...it also needs to fail on anything that isn't example.com

Then just move the parens a little bit, and make the specific subdomain optional...

/@(?!bar\.)?example\.com$/

Update: Oh well, that's why it's called "free advice"

Replies are listed 'Best First'.
Re: Re: Re: Re: Match all emails from all subdomains for a domain except one..
by bobn (Chaplain) on Aug 09, 2003 at 00:42 UTC

    Testing would be good. Your change causes jones@foo.example.com, jones@bbar.example.com and jones@baz.example.com to fail.

    --Bob Niederman, http://bob-n.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://282348]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-29 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found