Skip to content

Commit

Permalink
Merge pull request #226 from travisbrown/topic/nexus-html-index-views
Browse files Browse the repository at this point in the history
Support version extraction without trailing slash in link text
  • Loading branch information
rtimush authored Apr 12, 2021
2 parents d693774 + aa0d31b commit fef4f35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import com.timushev.sbt.updates.versions.Version
import scala.util.matching.Regex

object HtmlVersionExtractor {
val Pattern: Regex = "<a[^>]+href=\":?([^/]*)/\"[^>]*>\\1/</a>".r
val Pattern: Regex = "<a[^>]+href=\":?([^/]*)/\"[^>]*>\\1/?</a>".r
}

class HtmlVersionExtractor extends VersionExtractor {
Expand Down

0 comments on commit fef4f35

Please sign in to comment.