From: Ian Jackson Subject: [OSSTEST PATCH 1/2] mg-hosts: Allow spaces in setflagexpr exprs Date: Wed, 25 Jun 2014 15:06:26 +0100 Message-ID: <1403705187-9283-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wznqu-00063V-Eg for xen-devel@lists.xenproject.org; Wed, 25 Jun 2014 14:07:08 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Ian Jackson --- mg-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mg-hosts b/mg-hosts index d7223a1..c116688 100755 --- a/mg-hosts +++ b/mg-hosts @@ -321,7 +321,7 @@ END my ($dst,$section) = @_; die unless @$section == 2; my ($dstflag, $expr) = @$section; - die "$expr $& ?" if $expr =~ m/[^-0-9a-z_&|()!~]/; + die "$expr $& ?" if $expr =~ m/[^-0-9a-z_&|()!~ \t]/; my %inputs; $expr =~ s{[-0-9a-z_]+}{ -- 1.7.10.4