There are several string functions that you could use.
In the XACML 3.0 specification ( http://docs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-cs-01-en.pdf ) you can use:
- urn: oasis: names: dts: XACML: 3.0: Function: string ends-s
- ballot boxes: oasis: names: dts: XACML: 3.0: Function: line-starts-with
- urns: oasis: names: dts: XACML: 3.0: Function: string-contains
- urn: oasis: names: dts: XACML: 1.0: Function: string-regular expression match
The latter is what you would like to use. See Section A.3.13 for more information. Regular expression based functions.
source share