On 4/23/2014 5:43 PM, Ricardson Williams wrote:
> Yes. I tried also with only quote and the messages still pass. :(
> [...]
>>>    if ($sender =~ /^<?'"www-data@test"'\@hotmail\.com>?$/i) {


Also, you have to escape the first @ in your regex.  Perl should have
warned you about this.  And I should have noticed it yesterday! :)

So your regex would be:

  /^<?"www-data\@test"\@hotmail\.com>?$/i

That will match your string.  If not, then your string is not what you
think it is.



_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to