I see why...
|
private static final Pattern URL_PATTERN = Pattern.compile( |
|
"^(?<group>\\S+(?:/\\S+)*)/(?<name>\\S+)/(?<version>\\S+)/" + |
|
"\\2-\\3(?:-(?<classifier>[^.\\s]+))?\\.(?<extension>\\S+)$"); |
well, you see... I'm using this in a gradle plugin I'm working on, and minecraft 1.14 pre releases id's are weird... among other things
in any case, version numbers (and the others) should be able to contain spaces and be valid...
I see why...
Artifactural/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/GradleRepositoryAdapter.java
Lines 85 to 87 in 1648e6f
well, you see... I'm using this in a gradle plugin I'm working on, and minecraft 1.14 pre releases id's are weird... among other things
in any case, version numbers (and the others) should be able to contain spaces and be valid...