A pattern is a name or path name constant that contains wildcard characters. You can use the following pre-defined wildcard characters:
'?' (question mark)—indicates a single character. For more information, see Question Mark in this chapter.
'*' (asterisk)—indicates a group of characters. For more information, see Asterisk in this chapter.
'#' (pound)—indicates a group of characters, including the “\” (directory separator). For more information, see Pound in this chapter.
Note: Some file systems allow * and # characters in directory and file names. To specify these characters in a path name within an EDL expression, you must precede them by a single quote. To specify DIR#1 use DIR’#1. If the path name already includes a single quote character, it must be preceded by another single quote.
EDL supports both the Novell and the UNC notations for patterns that refer to path names:
|
Notations |
Paths |
|---|---|
|
Novell |
COMPUTER/VOLUME:D1D2FILENAME |
|
UNC |
\\COMPUTER\VOL\D1\D2\FILENAME |
For a complete list of examples of how path names containing '*' and '#' patterns are parsed, see the online help.
The wildcard characters are used as follows:
|
Wildcards |
Definitions |
|---|---|
|
Question Mark |
The question mark represents one character. The following examples illustrate this:
|
|
Asterisk |
The asterisk represents zero or more characters, excluding path name separators. The following examples illustrate this:
|
|
Pound |
Pound matches zero or more characters in directory names, including path name directory separators. The following examples illustrate this:
The following files match the pattern: \D1\F.E, \D1\D2\F.E, '\D1\D2\D3\F.E'
The following files match the pattern: \D1\F.E, '\D1\XF.E', '\D1\D2\F.E', '\D1\D2\D3\F.E' |
You can use wildcard characters in any component of a path name: node name, volume name, drive letter, directory names, and file name. CA SRM interprets missing components in a path name in the widest possible way. The following examples illustrate this:
|
Copyright © 2016 CA Technologies.
All rights reserved.
|
|