gitlab-ce/app/validators/web_hooks
..
wildcard_branch_filter_validator.rb