Rational Developer for System z, Version 7.6

Setting a pattern

This topic describes how to set a pattern as a value constraint.

Set a pattern to indicate that the value constraint defines a string used as a regular expression that must be matched by the data in the associated type. The regular expression syntax supported is a subset of XML Schema regular expressions.

To set a pattern:

  1. Select Add to the right of the Patterns field. This adds a pattern that has a default pattern (for example pattern1) and is in update mode.

  2. Select Add to the right of the Patterns field. This adds a pattern that has a default pattern (for example pattern1) and is in update mode.

  3. Press Enter on your keyboard.

  4. Repeat the steps 1-3 for each pattern that you are adding.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)