We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9543de0 + 06d0134 commit 23f6f09Copy full SHA for 23f6f09
pypandoc/pandoc_download.py
@@ -58,7 +58,7 @@ def _get_pandoc_urls(version="latest"):
58
# regex for the binaries
59
uname = platform.uname()[4]
60
processor_architecture = "arm" if uname.startswith("arm") or uname.startswith("aarch") else "amd"
61
- regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+r"|x86|mac).*\.(?:msi|deb|pkg)")
+ regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\\.(?:msi|deb|pkg)")
62
# a list of urls to the binaries
63
pandoc_urls_list = regex.findall(content.decode("utf-8"))
64
# actual pandoc version
0 commit comments