DSS Administration
Also available as:
PDF

Creating Regular Expressions in Kraptr Framework

Make sure to modify the regular expressions for the Kraptr framework.

An example regular expression appears as follows in its pure form:

regex("(\s|,|;|\A)([A-Za-z]{2}\d{6})(\s|,|;|\Z)")

For the Kraptr framework to understand this regular expression, perform the following steps:

  1. Escape the double quotes enclosing the attribute.
  2. Escape the attributes twice.

The final behavior appears as follows:

regex(\"(\\\\s|,|;|\\\\A)([A-Za-z]{2}\\\\d{6})(\\\\s|,|;|\\\\Z)\")

In the current version, Kraptr does not support custom behaviors. You can use these in-built behaviors for your business purposes.