From: weasel Date: Wed, 13 Jul 2005 14:18:04 +0000 (+0000) Subject: Use /i instead of A-Fa-f in one place X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=83444f2d9cbd882062b638d2334de9f802ce4767;hp=8bf98816d3e3389940782d16638b26fabadf4dc6;p=pgp-tools.git Use /i instead of A-Fa-f in one place git-svn-id: svn://svn.debian.org/pgp-tools/trunk@128 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/caff/caff b/caff/caff index bd15a77..c4365e8 100755 --- a/caff/caff +++ b/caff/caff @@ -271,7 +271,7 @@ sub load_config() { die ("keyid is not defined.\n") unless defined $CONFIG{'keyid'}; die ("keyid is not an array ref\n") unless (ref $CONFIG{'keyid'} eq 'ARRAY'); for my $keyid (@{$CONFIG{'keyid'}}) { - $keyid =~ /^[A-Fa-f0-9]{16}$/ or die ("key $keyid is not a long (16 digit) keyid.\n"); + $keyid =~ /^[A-F0-9]{16}$/i or die ("key $keyid is not a long (16 digit) keyid.\n"); }; @{$CONFIG{'keyid'}} = map { uc } @{$CONFIG{'keyid'}}; $CONFIG{'export-sig-age'}= 24*60*60 unless defined $CONFIG{'export-sig-age'};