From aeabf9ee7a0e4ebb9988347c204c75f9ec6e5558 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Wed, 24 Jul 2024 17:21:12 -0400 Subject: [PATCH] Fix polynomial regex --- src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java b/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java index 0028b87..f94729a 100644 --- a/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java +++ b/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java @@ -96,7 +96,7 @@ public BranchOrVersion(String path) { * Anything else is considered to be a branch. */ public boolean isVersion() { - return versionOrBranch.matches("^(v|rc)?\\d+[.]\\d+"); + return versionOrBranch.matches("^(v|rc)?\\d+[.]\\d+?.*+"); } /**