From 7f2862233389e93d2abd68327893d13105af8142 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 2 Jun 2009 05:30:59 +0000 Subject: [PATCH] change the / to | for dynamic node group regular expression git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DBobjUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index 1595e5cfc..df28181ad 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -1556,10 +1556,10 @@ sub getGroupMembers foreach my $testattr (keys %whereHash) { - if ($whereHash{$testattr} =~ /^\//) + if ($whereHash{$testattr} =~ /^\|/) { # wherevals includes regular expression my $tmpwherestring = $whereHash{$testattr}; - $tmpwherestring =~ /^\/(.*)\/$/g; + $tmpwherestring =~ /^\|(.*)\|$/g; $tmpwherestring = $1; if (!defined($myhash{$objname}{$testattr}) || ($myhash{$objname}{$testattr} !~ /$tmpwherestring/) ) {