_planRepositoryIncludeExcludeFilesExamples
The most important thing to remember is that the pattern has to match the whole path. We're not searching for a pattern in the filename, we're trying to match the whole path against the pattern. Now let's get to some examples:
pattern | comment |
^.*/(build|mysource|mylogfile|Event2| | will not match file "build/srs_build.py" because according to the pattern the "build" has to be preceded by "/" |
^ | will not match file |
^.*( | will match files:
as well as:
|
^.*/( | will match file:
but will not match file:
|
^/( | will not match " |
Hopefully this sheds some light on this area of Bamboo. If you have a question regarding the construction of regular expressions, you may want to ask that question on answers.atlassian.com.