Share via


2.2.45 ItemHasRegularExpressionMatch

Target namespace: http://schemas.microsoft.com/office/appforoffice/1.1

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

Attributes:

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

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 the regular expression matches.

IgnoreCase: A boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore the case when applying 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="NonEmptyString" use="required"/>
       <xs:attribute name="RegExValue" type="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.2 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).