PathMustHaveRegex

A regular expression to choose the files to process. The full path of a file in a repository must match the regular expression, otherwise the file is ignored.

Type: String (regular expression)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

The following example ignores all files apart from those that have an extension .c, .h, or .pl.

PathMustHaveRegex=.*\.(c|h|pl)

See Also: PathCantHaveRegex