diff options
author | Eric Wong <e@80x24.org> | 2015-11-21 01:42:17 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-11-21 01:45:52 +0000 |
commit | 49d9b3080695e79033a246a2087ca33939a0c4ce (patch) | |
tree | 3844a06ba260e0613fe11fc9ee3bbfaf61a825f2 /lib/PublicInbox/Config.pm | |
parent | f564327fd1e694056a4b13ed398cabd8d0d4c173 (diff) | |
download | public-inbox-49d9b3080695e79033a246a2087ca33939a0c4ce.tar.gz |
Apparently git allows them, and they're definitely alright in email addresses.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r-- | lib/PublicInbox/Config.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index 8da00b0a..353a1fb2 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -45,7 +45,7 @@ sub lookup { my $pfx; foreach my $k (keys %$self) { - $k =~ /\A(publicinbox\.[A-Z0-9a-z-]+)\.address\z/ or next; + $k =~ /\A(publicinbox\.[\w-]+)\.address\z/ or next; my $v = $self->{$k}; if (ref($v) eq "ARRAY") { foreach my $alias (@$v) { |