jenkinsci/git-plugin — pull request #138 by mzagar (2013-02-28 09:38:08+00:00)
Title: 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*'.