mdedetrich commented on issue #293: URL: https://github.com/apache/incubator-pekko-http/issues/293#issuecomment-1666887144
```scala val snapshotVersionR = """href=".*/((\d+)\.(\d+)\.(\d+)(-(M|RC)(\d+))?\+(\d+)-[0-9a-f]+-SNAPSHOT)/""""".r ``` Is an updated regex which will work (see https://regex101.com/r/ynvHsT/1), although the code with the groupings i.e. https://github.com/apache/incubator-pekko-http/blob/05bcea79de2fe37f5e687bc85facaf96742dc5c6/project/PekkoDependency.scala#L112 may need to be fixed. > I found this - https://github.com/G00fY2/version-compare - I haven't tested it but a small self contained lib might be a nice way to do this. The version format is determined by sbt-dynver and they actually provide a library that provides methods which lets you query versions/snapshots etc etc, see https://github.com/sbt/sbt-dynver#library-usage so thats another option. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
