-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
This commit is contained in:
jbjohnso 2009-09-04 13:38:44 +00:00
parent c30cfc7b69
commit 15f3af3e40

View File

@ -1517,7 +1517,7 @@ sub getNodeAttribs
next;
}
if ($datum->{$attrib} =~ /^\/.*\/.*\/$/)
if ($datum->{$attrib} =~ /^\/[^\/]*\/[^\/]*\/$/)
{
my $exp = substr($datum->{$attrib}, 1);
chop $exp;