Support gitflow style release branches 2.x release/2.x release-2.x

Change the regexes checking for release branches to support the common gitflow prefixes.