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 c54be5e commit c186334
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 c186334

Please sign in to comment.