The Perforce system allows the use of three wildcards:
| Wildcard | Meaning |
|---|---|
|
|
Matches all characters except slashes within one directory. |
|
|
Matches all files under the current working directory and all subdirectories. (matches anything, including slashes, and does so across subdirectories) |
|
|
Positional specifiers for substring rearrangement in filenames, when used in views. |
For example:
| Expression | Matches |
|---|---|
|
|
Files in the current directory starting with |
|
|
All files called |
|
|
All files under the current directory and its subdirectories |
|
|
All files under the current directory and its subdirectories,
that end in |
|
|
All files under |
|
|
All files in the workspace or depot that is named
|
|
|
All files in the depot |
|
|
All files in all depots |