Forum: CFEngine Help
Subject: Re: variable method calls using arrays
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26900,26959#msg-26959
This fix did not quite work.
This works:
"${b}" usebundle => ${b}("param");
This returns a syntax error:
"${b}" usebundle => ${b[${b1}]}("param");
Ideally want this to be allowed.
${b[${i}][0]}
Checking Mark's change I found the line in src/cf3lex.l.
nakedvar [$@][(]\200-\377.]+[)]|[$@][{]\200-\377.]+[}]
I'm trying to expand this line to accout for what I'd like. What does \200-\377
mean? Is the entire right side a C regex or Flex or something else?
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine