Example: pattern matching in the Acct Info field
The Rule Processor treats each word of the Accounting Information (Acct Info) field separately.
Words of accounting information are denoted by commas. For example, if the job card has the following accounting information:
the Rule Processor would process 3912, PROD, and AAO separately.
The following table shows examples of how you might try to fill in the pattern matching fields and which variations would create matching results.
Character | String pattern | Results |
---|---|---|
(3912,PROD,AAO) | * | Match |
(3912,PROD,AAO) | *, PROD | Match |
(3912,PROD,AAO) | *, PROD, * | Match |
(3912,PROD,AAO) | 3912,*,AAO | Match |
(3912,PROD,AAO) | 3*,P*,A* | Match |
(3912,PROD,AAO) | PROD | No Match |
The following table shows some additional examples of pattern matches.
Character string | Pattern | Results |
---|---|---|
ABCDEF | ABC++F | Match |
ABCDEF | ABC+F | No match |
ABCDEF | A* | Match |
ABCDEF | *D+F | Match |
ABCDEF | A+C* | Match |
ABCDEF | A*F | Match |
ABCDEF | A*+F | Match |
ABCDEF | A+FF | No match |
ABCDEF | A*BCDEF | Match |
ABCDEF | A+B* | No match |
ABCDEF | 'A*BCDEF' | No match |
ABCDEF | ¬XYZ | Match |
ABCDEF | ¬*BCD* | No match |
Related topic