You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Soeren Hilmer <so...@tietoenator.com> on 2003/09/22 10:06:58 UTC
[PATCH] HasMailAttributeWithValueRegex matcher (new)
Hi,
Steve Brewin, you beat me with your HasMailAttributeWithValue by half an hour
this friday ;-(
Well Vincenco also requested this one, so here goes.
HasMailAttributeWithValueRegex
<mailet match="HasMailAttributeWithValueRegex=attrName,<perl5 regex>"
class="Null"/>
This matcher allows matching attribute values against a Perl5 style regular
expression. All recipients are returned if a value is set for the specified
attribute and that value matches the specified regular expression. A comma is
used to separate the name of the atribute from the regular expression. Note:
toString is called on the returned value object prior to matching against the
specified pattern.
provided_matchers_2_1.xml.patch is a patch of the matchers description.
matcher.zip has the new file.
--S�ren
--
S�ren Hilmer, M.Sc.
R&D manager Phone: +45 70 27 64 00
TietoEnator IT+ A/S Fax: +45 70 27 64 40
Ved Lunden 12 Direct: +45 87 46 64 57
DK-8230 �byh�j Email: soren.hilmer@tietoenator.com