clone 330850 -1 retitle -1 dh-make: backslash allowed in package version thanks
If I'm not mistaken, this bug is caused by ambiguity of `pwd` which looks like foo-1-2 Is this package "foo-1" version "-2", or package "foo" version "1-2"? I guess the solution is to warn the user on such ambiguity.. By the way, you're not presently enforcing "must start with an alnumeric character", and you shouldn't bashslash-escape characters with in range expression (see regex.7). As written, '\' is allowed within the package version: echo '/gnuplotfortran-0\\.2.2-1' |perl -ne '/.*\/(.*)-([0-9][0-9a-zA-Z+\.\-]*)$/ && print $1 . "XX" . $2 . "\n";' gnuplotfortran-0\\.2.2XX1 -- Clear skies, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]