ConditionMatch - sorengranfeldt/mre GitHub Wiki

Condition xsi:type=ConditionMatch

This condition can be used to check the value of a metaverse attribute against a regular expression pattern. The name of the metaverse attribute to check is specified in the MVAttribute tag (see sample below) and the regular expression pattern is specified in the Pattern tag (see sample below).

If the value of the metaverse attribute matches the regular expression pattern, the condition is met.

<ConditionBase xsi:type="ConditionMatch">
  <Description>If accountName starts with INT (only interns)</Description>
  <MVAttribute>accountName</MVAttribute>
  <Pattern>^INT</Pattern>
</ConditionBase>
⚠️ **GitHub.com Fallback** ⚠️