On Thu, Feb 02, 2012 at 09:00:06AM -0500, Dalal, Kamber Z wrote:
>    Need the proper syntax for 'CanonicalizeEmailAddressMatch' setting to 
> match either @domaina or
>    @domainb
> 
>    to allow 'CanonicalizeEmailAddressReplace' it with @domainc.

It's just a perl regular expression, so literally you get

s/CanonicalizeEmailAddressMatch/CanonicalizeEmailAddressReplace/gi
at the end.

So experiment with:

my $email = "b...@domaina.com";
$email =~ s/CanonicalizeEmailAddressMatch/CanonicalizeEmailAddressReplace/gi
print $email;

outside RT to get what you want.

-kevin

Attachment: pgpEoThRI8pTA.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Reply via email to