About Regular Expressions

You can replace a recognition property with a regular expression or a numeric range to allow for a pattern-based recognition. The pattern allows for more flexibility in the object recognition. You can convert properties to regular expressions and numeric ranges from within the Verification Point Editor or the object map.

Creating Regular Expressions

For information about how to create and use a regular expression or numeric range, see Replacing an Exact-Match Property with a Pattern.

Regular Expression Evaluator

After you convert a value to a regular expression, you can edit the pattern. You can also test your regular expression while you edit it by using the Regular Expression Evaluator. The Regular Expression Evaluator is available from the object map or the Verification Point Editor. You can use it to test a regular expression while editing an object property. The Evaluator tells you whether your pattern matched before you run the script.

Examples

To see some examples of regular expression syntax and use cases, see Regular Expression Examples.

 

 

Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.