Allow branches to be filtered by regexp.