-Allow // around regexes in nodels criteria selection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d0dc5dd96a
commit
010436cd68
@ -827,6 +827,8 @@ sub nodels
|
||||
}
|
||||
elsif ($temp =~ /^[^=]*=~/) {
|
||||
($temp,$value) = split /=~/,$temp,2;
|
||||
$value =~ s/^\///;
|
||||
$value =~ s/\/$//;
|
||||
$matchtype='regex';
|
||||
}
|
||||
elsif ($temp =~ /[^=]*==/) {
|
||||
@ -835,6 +837,8 @@ sub nodels
|
||||
}
|
||||
elsif ($temp =~ /[^=]*!~/) {
|
||||
($temp,$value) = split /!~/,$temp,2;
|
||||
$value =~ s/^\///;
|
||||
$value =~ s/\/$//;
|
||||
$matchtype='negex';
|
||||
}
|
||||
if ($shortnames{$temp})
|
||||
|
Loading…
x
Reference in New Issue
Block a user