mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-26 07:56:36 +00:00
Allow single quotes in previously committed feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -944,7 +944,7 @@ sub getNodeAttribs
|
||||
{
|
||||
|
||||
#my $next = $comps[0];
|
||||
if ($curr =~ /^[\{\}()\-\+\/\%\*\$\d]+$/ or $curr =~ /^\(sprintf\(["%\dcsduoxefg]+,\s*[\{\}()\-\+\/\%\*\$\d]+\)\)$/ )
|
||||
if ($curr =~ /^[\{\}()\-\+\/\%\*\$\d]+$/ or $curr =~ /^\(sprintf\(["'%\dcsduoxefg]+,\s*[\{\}()\-\+\/\%\*\$\d]+\)\)$/ )
|
||||
{
|
||||
use integer
|
||||
; #We only allow integer operations, they are the ones that make sense for the application
|
||||
|
Reference in New Issue
Block a user