Share via


2.2.92 ItemHasRegularExpressionMatch

Target namespace: http://schemas.microsoft.com/office/mailappversionoverrides

Defines a rule that evaluates to true if a match for the specified regular expression can be found in the specified property of the item.

Attributes:

RegExName: A NonEmptyString attribute that specifies the name of the regular expression, so that it is subsequently possible to refer to it by code.

RegExValue: A NonEmptyString attribute that specifies the regular expression to match.

PropertyName: A PropertyName attribute that specifies the name of the property in which to look for matches.

IgnoreCase: A boolean attribute that specifies to ignore the case when executing the regular expression.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="ItemHasRegularExpressionMatch">
   <xs:complexContent>
     <xs:extension base="Rule">
       <xs:attribute name="RegExName" type="bt:NonEmptyString" use="required"/>
       <xs:attribute name="RegExValue" type="bt:NonEmptyString" use="required"/>
       <xs:attribute name="PropertyName" type="PropertyName" use="required"/>
       <xs:attribute name="IgnoreCase" type="xs:boolean" use="optional"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).