Skip to content

Commit

Permalink
Update Grails version pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed May 1, 2023
1 parent 8e1359e commit 1566362
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*/
public final class GrailsVersion {

private static final Pattern VERSION_PATTERN = Pattern.compile("((\\d+)(\\.\\d+)+)(-(\\p{Alpha}+)-(\\w+))?(-(SNAPSHOT|\\d{14}([-+]\\d{4})?))?");
private static final Pattern VERSION_PATTERN = Pattern.compile("((\\d+)(\\.\\d+)+)(-(\\p{Alpha}+)(\\w+))?(-(SNAPSHOT|\\d{14}([-+]\\d{4})?))?");

private final String version;

Expand Down

0 comments on commit 1566362

Please sign in to comment.