#32589: portlivecheck.tcl: fix regex multiple versions on single line -----------------------------------+---------------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: fixed | Keywords: haspatch maintainer Port: | -----------------------------------+---------------------------------------- Comment(by raimue@…): {{{ livecheck.regex ${name}-(\[0-9.\]+) }}} I would say this sdlconsole regex is wrong, as this also matches the dot of `.tar.gz` in the string `sdlconsole-2.1.tar.gz` and thus, the result of the match is `2.1.` There are multiple options to fix the regex which are compatible to previous releases of MacPorts: {{{ livecheck.regex ${name}-(\[0-9.\]+)\.tar livecheck.regex ${name}-(\\d+(?:\\.\\d+)+) }}} -- Ticket URL: <https://trac.macports.org/ticket/32589#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS