From 97fbd9da6c92634e3b6a1ee640cdc4b53842afda Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 4 Jun 2012 22:25:47 +0200 Subject: [PATCH] Allow : in user ids --- pws | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pws b/pws index 13c6783..d122c4a 100755 --- a/pws +++ b/pws @@ -289,7 +289,7 @@ class GroupConfig lno = lno+1 next if line =~ /^$/ next if line =~ /^#/ - if (m = /^([a-zA-Z0-9-]+)\s*=\s*([0-9A-Fa-f]{40})\s*$/.match line) + if (m = /^([a-zA-Z0-9:-]+)\s*=\s*([0-9A-Fa-f]{40})\s*$/.match line) user = m[1] fpr = m[2] if @users.has_key?(user) -- 2.39.5