[Bamboo Knowledge Base]
Bamboo では、ファイルとディレクトリを照合するための強力な正規表現がサポートされています (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. |
Ant globs では、単なるファイル名ではなく、パスの照合が行われることに留意してください。
/**/
で始まると見なされます。/
である場合、**
が自動的に追加されます。Also see the Ant documentation.
*.txt |
|
/*.txt |
|
dir1/file.txt |
|
**/dir1/file.txt | 上記と同じです。 |
/**/dir1/file.txt | 上記と同じです。 |
/dir3/**/dir1/file.txt |
|
/dir1/** |
|