fix for bug 3043788, use non-greedy regular expression, the value can contain "="
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2d1cb4d54e
commit
16ab21e6e3
@ -1626,7 +1626,7 @@ sub readFileInput
|
||||
push(@::fileobjnames, $objectname);
|
||||
|
||||
}
|
||||
elsif (($l =~ /^\s*(.*)\s*=\s*(.*)\s*/) && (!$look_for_colon))
|
||||
elsif (($l =~ /^\s*(.*?)\s*=\s*(.*)\s*/) && (!$look_for_colon))
|
||||
{
|
||||
my $attr = $1;
|
||||
my $val = $2;
|
||||
|
Loading…
Reference in New Issue
Block a user