summaryrefslogtreecommitdiff
path: root/Debian/Dgit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Dgit.pm')
-rw-r--r--Debian/Dgit.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm
index 2be936b..3fe0309 100644
--- a/Debian/Dgit.pm
+++ b/Debian/Dgit.pm
@@ -11,13 +11,16 @@ BEGIN {
$VERSION = 1.00;
@ISA = qw(Exporter);
- @EXPORT = qw(debiantag);
+ @EXPORT = qw(debiantag
+ $package_re);
%EXPORT_TAGS = ( ); # eg: TAG => [ qw!name1 name2! ],
@EXPORT_OK = qw();
}
our @EXPORT_OK;
+our $package_re = '[0-9a-z][-+.0-9a-z]*';
+
sub debiantag ($) {
my ($v) = @_;
$v =~ y/~:/_%/;