in reply to Re: Re: Email suffix matching with a negative look-ahead regexp
in thread Email suffix matching with a negative look-ahead regexp
junior:~$ perl -e 'die if "foo@spammer.tw"=~/^.+\.(?!br|com|net|org)\w ++$/' Died at -e line 1.
OT: I receive much spam from international domains, and with this regexp the msg is sent to a special folder. I don't have problems, because the mailing-lists emails are filtered before.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re**4: Email suffix matching with a negative look-ahead regexp
by xmath (Hermit) on Mar 02, 2003 at 00:13 UTC |