From 15f3af3e404819c14ea93e09e094ad605c3e0a29 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 4 Sep 2009 13:38:44 +0000 Subject: [PATCH] -Make the regex operator in table more picky about syntax, to make a smaller set of data to be ambiguous git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index 8ac40e255..f5e55637f 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -1517,7 +1517,7 @@ sub getNodeAttribs next; } - if ($datum->{$attrib} =~ /^\/.*\/.*\/$/) + if ($datum->{$attrib} =~ /^\/[^\/]*\/[^\/]*\/$/) { my $exp = substr($datum->{$attrib}, 1); chop $exp;