JENKINS-7087: support for using regex directly in BranchSpec if spec string starts with colon.

Example: ":^(?!(origin/prefix)).*" would match any branch except
'origin/prefix*'.