Skip to content
Snippets Groups Projects
Unverified Commit 2d5ba777 authored by Dustin Rodrigues's avatar Dustin Rodrigues Committed by GitHub
Browse files

Merge pull request #8838 from dtrodrigues/pypi-livecheck-fix

livecheck/pypi: minor edit to PyPI post version
parents 318a5049 16d4f51a
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ module Homebrew
# Example regex: `%r{href=.*?/packages.*?/example[._-]v?(\d+(?:\.\d+)*).t}i`.
regex ||=
%r{href=.*?/packages.*?/#{Regexp.escape(package_name)}[._-]
v?(\d+(?:\.\d+)*(.post\d)?)#{Regexp.escape(suffix)}}ix
v?(\d+(?:\.\d+)*(.post\d+)?)#{Regexp.escape(suffix)}}ix
Homebrew::Livecheck::Strategy::PageMatch.find_versions(page_url, regex)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment