Add capability to cram an sprintf to modify regex arithmetic operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
be7b2dc5bb
commit
62996cf88e
@ -944,7 +944,7 @@ sub getNodeAttribs
|
||||
{
|
||||
|
||||
#my $next = $comps[0];
|
||||
if ($curr =~ /^[\{\}()\-\+\/\%\*\$\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
|
||||
|
Loading…
Reference in New Issue
Block a user