[rt-users] RTAddressRegexp wildcard question

Joseph Spenner joseph85750 at yahoo.com
Fri Jul 8 11:52:50 EDT 2011


I'm using RT 3.8.8 and trying to modify my RTAddressRegexp such that the following get matched:

blue-house at domain.com
blue-car at domain.com
blue-truck at domain.com
red-house at domain.com
red-engine at domain.com
red-bike at domain.com
thing at domain.com

My goal is to catch anything beginning with "blue-" or "red-", or equal to "thing" before the @.  Can a * be used in RTAddressRegexp ?

ie:

Set($RTAddressRegexp , '^(blue-|red-|thing)*\@(domain\.com)$');

I didn't see a "*" used in the documentation, so I was curious if that was a valid way to accomplish my goal.  Also, since "thing" is by itself, would the "*" after that cause it to fail?

Thanks!

If life gives you lemons, keep them-- because hey.. free lemons.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110708/18ad53f0/attachment.htm>


More information about the rt-users mailing list