Skip to content

Commit

Permalink
Fix polynomial regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl DeBisschop committed Jul 24, 2024
1 parent aeabf9e commit d7c8c48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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+?.*+$");
}

/**
Expand Down

0 comments on commit d7c8c48

Please sign in to comment.