function

regarray

A built-in CFEngine function in the data category that returns a class. regarray is not called from the policy on your hosts.

Signature
regarray(string, string)
Parameters
  1. string CFEngine variable identifier or inline JSON (.*)
  2. string Regular expression (.*)
Returns
context
Category
data