clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
danielcompton 2016-01-21T20:12:49.000517Z

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?

meow 2016-01-21T20:18:25.000519Z

@danielcompton: looks like emoji to me

meow 2016-01-21T20:18:55.000520Z

strong jawed man with a goatee, perhaps

meow 2016-01-21T20:19:31.000521Z

I know, I know, not the help you were hoping to get... 😞

2016-01-21T20:59:24.000522Z

@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

2016-01-21T20:59:41.000523Z

but that ns was extracted from elsewhere, let me see where it came from

2016-01-21T21:07:37.000524Z

I'm pretty sure it was introduced in this commit: https://github.com/clojars/clojars-web/commit/00fb03b6471e2da3a5359d1245764f52d9ff1bb3

2016-01-21T21:08:01.000525Z

but that doesn't really tell us anything

danielcompton 2016-01-21T21:40:32.000526Z

looks like it’s trying to avoid maven-metadata.xml/newfolder ?

2016-01-21T21:44:58.000529Z

ah, yeah. That makes sense.

danielcompton 2016-01-21T22:03:24.000530Z

Although just a $ seems like it might make more sense

danielcompton 2016-01-21T22:04:09.000531Z

or maybe \z and \A to match end and beginning