Allow branches to be filtered by a regular expression.