diff --git a/lib/Devscripts/Uscan/WatchFile.pm b/lib/Devscripts/Uscan/WatchFile.pm index 5958127d3479e5ad0215fb90cb94f076fe212ca9..06ab61df88966130c1f3ba5c9b3a4b4aa218b52e 100644 --- a/lib/Devscripts/Uscan/WatchFile.pm +++ b/lib/Devscripts/Uscan/WatchFile.pm @@ -104,7 +104,7 @@ use List::Util qw/first/; use Moo; use constant { - ANY_VERSION => '(?:[-_]?(\d[\-+\.:\~\da-zA-Z]*))', + ANY_VERSION => '(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))', ARCHIVE_EXT => '(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz))', DEB_EXT => '(?:[\+~](debian|dfsg|ds|deb)(\.)?(\d+)?$)', diff --git a/po4a/po/de.po b/po4a/po/de.po index e5d4fde8698cc6eedf77272bd9c81b0dba640223..8e3fa43ffbefd61989bdf30bd6dd4887434ebb71 100644 --- a/po4a/po/de.po +++ b/po4a/po/de.po @@ -23690,10 +23690,10 @@ msgstr "" #: ../scripts/uscan.pl:289 #, no-wrap msgid "" -" [-_]?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" +" [-_]?v?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" "\n" msgstr "" -" [-_]?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" +" [-_]?v?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" "\n" #. type: =item diff --git a/po4a/po/devscripts.pot b/po4a/po/devscripts.pot index ec297acb683b5d335317d8280b7b7d7ad1c206f7..803042aa1f6ecdcd3ec15a9f816d22e239f526eb 100644 --- a/po4a/po/devscripts.pot +++ b/po4a/po/devscripts.pot @@ -19322,7 +19322,7 @@ msgstr "" #: ../scripts/uscan.pl:289 #, no-wrap msgid "" -" [-_]?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" +" [-_]?v?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" "\n" msgstr "" diff --git a/po4a/po/fr.po b/po4a/po/fr.po index e521904cdc09d12da3361eb354d141439941ed33..385b64b975e4811795b7027b58bf6d5655f9bd73 100644 --- a/po4a/po/fr.po +++ b/po4a/po/fr.po @@ -23976,10 +23976,10 @@ msgstr "" #: ../scripts/uscan.pl:289 #, no-wrap msgid "" -" [-_]?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" +" [-_]?v?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" "\n" msgstr "" -" [-_]?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" +" [-_]?v?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" "\n" #. type: =item diff --git a/po4a/po/pt.po b/po4a/po/pt.po index 427bac1e18dba380559d4cb4f30bd2bc231ad4fc..a47df32a742a13a7dca2530f6bd0a934a2c4c100 100644 --- a/po4a/po/pt.po +++ b/po4a/po/pt.po @@ -23613,10 +23613,10 @@ msgstr "" #: ../scripts/uscan.pl:289 #, no-wrap msgid "" -" [-_]?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" +" [-_]?v?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" "\n" msgstr "" -" [-_]?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" +" [-_]?v?(\\d[\\-+\\.:\\~\\da-zA-Z]*)\n" "\n" #. type: =item diff --git a/scripts/uscan.pl b/scripts/uscan.pl index 6cc486a0bd5f71bdbba2da8916583030a5e4a5a3..c7011ad13d2a8b9da05e82f21c502db436347614 100755 --- a/scripts/uscan.pl +++ b/scripts/uscan.pl @@ -286,7 +286,7 @@ F file. This is substituted by the legal upstream version regex (capturing). - [-_]?(\d[\-+\.:\~\da-zA-Z]*) + [-_]?v?(\d[\-+\.:\~\da-zA-Z]*) =item B<@ARCHIVE_EXT@>