Schematic Model Manager User Guide

Appendices : Appendix A: Regular Expressions : Quantification using Metacharacters
? The question mark indicates there is zero or one of the preceding element. For example, too? matches both to and too.
* The asterisk indicates there are zero or more of the preceding element. For example, ab*c matches ac, abc, abbc, abbbc, and so on.
+ The plus sign indicates that there is one or more of the preceding element. For example, ab+c matches abc, abbc, abbbc, and so on, but not ac.
Example:
(3.*(WAY VALVE))
What this expression means:
Matches any component class which contains with any two characters (including space) followed by "WAY VALVE"
Example:
((BLI..).(SP...))
What this expression means:
Matches any component class which contains BLI followed by any 2 characters followed by any 1 character followed by SP followed by any three characters.
Example:
(CLOSED.4+)
What this expression means:
Matches any component class name which contains CLOSED followed by any character followed by 4.
Example:
(CLOSED.4?)
What this expression means:
Matches any component class name which contains CLOSED followed by any character and optionally followed by 4.
Example matches using expression:
CLOSED 4 WAY VALVE
CLOSED VALVE
Example:
(4.*WAY VALVE)
What this expression means:
Matches any component class name which contains 4 followed by zero or one characters followed by WAY VALVE
Example:
X{1,1}
What this expression means:
Matches any component class name which contains one and only one X
What this expression means:
Matches any component class name which contains 1,2 or 3
Example matches using expression:
1 WAY VALVE
2 WAY VALVE
DIAPHRAGM ACTUATED 3 WAY BALL VALVE
What this expression means:
Matches any component class name which contains a character within the range 1 to 3
Example matches using expression:
1 WAY VALVE
2 WAY VALVE
DIAPHRAGM ACTUATED 3 WAY BALL VALVE
Example:
(SELF ACTING|AUTOMATIC)
What this expression means:
Matches any component class name which contains SELF ACTING or AUTOMATIC
Example matches using expression:
SELF ACTING GLOBE VALVE
AUTOMATIC GLOBE VALVE
Example:
(AP)\b
What this expression means:
Matches any component class name which contains a word ending in AP
What this expression means:
Matches any component class name which contains a non alphanumeric character such as a space
Example matches using expression:
Any component class name which contains a non alpha numeric character
What this expression means:
Matches any component class name which contains a 3 followed by a whitespace character
Example matches using expression:
3 WAY VALVE
DIAPHRAGM ACTUATED 3 WAY VALVE
What this expression means:
Matches any component class name which contains a 2 followed by any non whitespace character
Example matches using expression:
2WAYVALVE
CLOSED2WAYVALVE
What this expression means:
Matches any component class name which contains a single digit
Example matches using expression:
PISTON ACTUATED 4 WAY VALVE
CLOSED 3 WAY VALVE
What this expression means:
Matches any component class name which contains a non digit
Example:
^(PISTON)
What this expression means:
Matches any component class name which begins with PISTON
Example matches using expression:
PISTON ACTUATED 4 WAY VALVE
PISTON ACTUATED GENERAL VALVE
Example:
(FILTER)$
What this expression means:
Matches any component class name which ends with FILTER
Example matches using expression:
INLINE BASKET FILTER
INLINE FILTER
What this expression means:
Allows a component class to be selected based on a list of excluded characters.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo