|
|
Context Pattern Editor – Name Constraint |
Syntax:
.name (comma separated list of strings)
This constraint causes the token to match only those elements whose name matches a value inside the parenthesis. Each string may be simple text or a regular expression. For example:
Package,Block.name(B1,B3)
Would only match Blocks named B1 or B3
Package,Block.name(^A,^B)
Would match Blocks whose names start wither either an upper-case A or an upper-case B
Package,Block.name(^A.*[0-9])
Would match Blocks whose names start with an upper-case A, followed by any character any number of times followed by a single number.
In the Context Pattern Editor, if the Constraint Type is set to Name, then the Constraint field is a text box. Double-click inside the field to type a name list.
