Update regex to new versioning scheme.
Merge pull request #9537 from s0undt3ch/develop

Update regex to new versioning scheme.