diff --git a/src/main/java/io/papermc/bibliothek/database/model/Version.java b/src/main/java/io/papermc/bibliothek/database/model/Version.java index 313f0ae..1273b54 100644 --- a/src/main/java/io/papermc/bibliothek/database/model/Version.java +++ b/src/main/java/io/papermc/bibliothek/database/model/Version.java @@ -43,6 +43,6 @@ public record Version( ) { // NOTE: this pattern cannot contain any capturing groups @Language("RegExp") - public static final String PATTERN = "(?:latest|(pr)?[0-9.]+-?(?:pre|SNAPSHOT)?(?:[0-9.]+)?)?"; + public static final String PATTERN = "(?:latest|(?:pr)?[0-9.]+-?(?:pre|SNAPSHOT)?(?:[0-9.]+)?)?"; public static final Comparator COMPARATOR = Comparator.comparing(Version::time); }