On Fri, Jul 28, 2017 at 11:24:44PM +0900, Osamu Aoki wrote: > Should be non-greedy match ... not a non-capturing match .. Sigh > > > > m/^.+?[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?:\.tar\.(gz|bz2|xz)|\.zip)$/i; > > > $newversion = $1;
This worked: uscan info: newest_dir => '2.4' uscan info: Requesting URL: http://festvox.org/packed/festival/2.4/ uscan info: Matching pattern: (?:(?:http://festvox.org)?\/packed\/festival\/2\.4\/)?festlex_CMU(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan info: Found the following matching hrefs on the web page (newest first): festlex_CMU.tar.gz () index=-1 uscan info: Matching target for downloadurlmangle: http://festvox.org/packed/festival/2.4/festlex_CMU.tar.gz uscan info: Upstream URL (downloadurlmangled): http://festvox.org/packed/festival/2.4/festlex_CMU.tar.gz uscan info: Matching target for filenamemangle: http://festvox.org/packed/festival/2.4/festlex_CMU.tar.gz uscan info: Newest upstream tarball version from the filenamemangled filename: 2.4 uscan info: Download filename (filenamemangled): festvox-rablpc16k_2.4.tar.gz uscan: Newest version of festvox-rablpc16k on remote site is 2.4, local version is 0.0 uscan: => Newer package available from http://festvox.org/packed/festival/2.4/festlex_CMU.tar.gz uscan info: Downloading upstream package: festvox-rablpc16k_2.4.tar.gz uscan info: Requesting URL: http://festvox.org/packed/festival/2.4/festlex_CMU.tar.gz uscan info: Successfully downloaded package: festvox-rablpc16k_2.4.tar.gz uscan info: Start checking for common possible upstream OpenPGP signature files uscan info: End checking for common possible upstream OpenPGP signature files uscan info: Missing OpenPGP signature. uscan info: New orig.tar.* tarball version (oversionmangled): 2.4 uscan info: Executing internal command: mk-origtargz --package festvox-rablpc16k --version 2.4 --compression gzip --directory .. ../festvox-rablpc16k_2.4.tar.gz uscan info: New orig.tar.* tarball version (after mk-origtargz): 2.4 uscan info: Successfully symlinked ../festvox-rablpc16k_2.4.tar.gz to ../festvox-rablpc16k_2.4.orig.tar.gz. uscan info: Scan finished _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
