Support regular expressions in matching branch names with the whitelist

This small change allowed me to create separate jenkins jobs for different branch types (feature branches, hotfix branches, develop, etc.). The benefits are that these jobs can be run in parallel or have different settings.