[Bamboo Knowledge Base]
Bamboo supports a powerful type of regular expression for matching files and directories (as with pattern matching in Apache Ant).
These expressions use the following wild cards:
? | Matches one character (any character except path separators) |
| Matches zero or more characters (not including path separators) |
| Matches zero or more path segments. |
Remember that Ant globs match paths, not just simple filenames.
/**/
./
then **
is automatically appended.Also see the Ant documentation.
*.txt | Matches |
/*.txt | Matches |
dir1/file.txt | Matches |
**/dir1/file.txt | Same as above. |
/**/dir1/file.txt | Same as above. |
/dir3/**/dir1/file.txt | Matches |
/dir1/** | Matches all files under |