def _parse_simple_html_package_info(self, package_name, current_version, response):
pattern = r'<STR_LIT>'.format(name=re.escape(package_name))<EOL>versions_match = re.findall(pattern, response.content.decode('<STR_LIT:utf-8>'), flags=re.IGNORECASE)<EOL>all_versions = [version.parse(vers) for vers in versions_match]<EOL>filtered_versions = [vers for vers in all_versions if not vers.is_prerelease and not vers.is_postrelease]<EOL>if not filtered_versions:  <EOL><INDENT>return False, '<STR_LIT>'<EOL><DEDENT>latest_version = max(filtered_versions)<EOL>if self._prerelease or current_version.is_postrelease or current_version.is_prerelease:<EOL><INDENT>prerelease_versions = [vers for vers in all_versions if vers.is_prerelease or vers.is_postrelease]<EOL>if prerelease_versions:<EOL><INDENT>latest_version = max(prerelease_versions)<EOL><DEDENT><DEDENT>return {<EOL>'<STR_LIT:name>': package_name,<EOL>'<STR_LIT>': current_version,<EOL>'<STR_LIT>': latest_version,<EOL>'<STR_LIT>': current_version < latest_version,<EOL>'<STR_LIT>': '<STR_LIT:->'<EOL>}, '<STR_LIT:success>'<EOL>
:type package_name: str
:type current_version: version.Version
:type response: requests.models.Response