Does anyone know what the [^/]*
at the end of the regex at https://github.com/clojars/clojars-web/blob/master/src/clojars/routes/repo.clj#L143 does?
@danielcompton: looks like emoji to me
strong jawed man with a goatee, perhaps
I know, I know, not the help you were hoping to get... 😞
@danielcompton: I can't come up with a good reason for that being there. looking at the git history, it's been there as long as repo.clj has existed
but that ns was extracted from elsewhere, let me see where it came from
I'm pretty sure it was introduced in this commit: https://github.com/clojars/clojars-web/commit/00fb03b6471e2da3a5359d1245764f52d9ff1bb3
but that doesn't really tell us anything
looks like it’s trying to avoid maven-metadata.xml/newfolder
?
That’s my interpretation of :artifact
on https://github.com/clojars/clojars-web/commit/00fb03b6471e2da3a5359d1245764f52d9ff1bb3#diff-869001abb80f4dff69d496bdaba342c5R48
ah, yeah. That makes sense.
Although just a $ seems like it might make more sense
or maybe \z
and \A
to match end and beginning