escape dot . in regex

This commit is contained in:
Johnny Chen 2020-05-27 07:31:01 +08:00
parent 054e91a8bd
commit bce6665c1b
No known key found for this signature in database
GPG Key ID: A8E1AABB61708099

View File

@ -627,7 +627,7 @@ distro = Julia
listvers = 1
location = julia-releases/bin/*/*/*/julia-*
# This regex does not capture release candidate (rc) versions
pattern = \/bin\/(freebsd|mac|linux|winnt)\/(x64|x86|aarch64|armv7l)\/[\w\.]+\/julia-(\d+.\d+.\d+)-\w+-(\w+).(dmg|pkg|exe|tar.gz)
pattern = \/bin\/(freebsd|mac|linux|winnt)\/(x64|x86|aarch64|armv7l)\/[\w\.]+\/julia-(\d+\.\d+\.\d+)-\w+-(\w+)\.(dmg|pkg|exe|tar\.gz)
platform = $1/$4
version = $3
type = $5