Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ScopeRegex type matches attributes values against the supplied Java Regular ExpressionPattern.

Confusingly, the The ScopeRegex type can be a Matcher or a PolicyRequirement.

  • If no attributeID attribute is specified then it is a Matcher (returning that value if it is the matching values present amongst the filtered attribute's values, and the empty set otherwise)
  • If an attributeID attribute is specified then it is a PolicyRule (returning true if that that a matching value is present amongst the values for of the specified attribute).

Reference

Localtabgroup
Localtab
activetrue
titleXML Attributes

Three attributes may be specified

NameTypeDefaultDescription
attributeID String

...


If this is present, then this is a PolicyRule returning true if the corresponding attribute exists and contains a value that matches.
If this is not present, then this is a Matcher returning any value that matches, and the empty set otherwise.
regexPattern

...


The Java regular expression to match against
caseSensitivebooleantrueWhether the comparison is case sensitive

...

Child Elements

...

Examples

Apply this rule if the attribute "EPSA" contains at least one scope value whose scope ends .edu:

...