On 02/29/2012 10:08 PM, Nick Anderson wrote:
> Getting closer
>
> vars:
> "regex" string => join("|", "list");
>
> delete_lines:
> "^(?!($(regex)).*).*$"
>
> this almost works like I want it, it makes this regex
> ^(?!(1|2|3).*).*$I dont know what I was thinking, this did do exactly what i wanted. Thanks -- Nick Anderson <[email protected]> _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
