Pattern matching reference
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 wildcards:
|?||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.
- If the pattern does not start with a path separator i.e. / or \, then the pattern is considered to start with
- If the pattern ends with
**is automatically appended.
- A pattern can contain any number of wild cards.
Also see the Ant documentation.
|/dir1/**||Matches all files under |
Last modified on Jul 18, 2021
Was this helpful?Yes Provide feedback about this article
Powered by Confluence and Scroll Viewport.