Thanks, Jeang - It all seems so simple now... <sigh> Tested and works!
deb On 1/4/11 4:29 PM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Need a little regular expression help from my friends... > Author: phnakarin > Link to topic: https://cfengine.com/forum/read.php?3,20020,20022#msg-20022 > > I haven't tried the code below yet but it should do what you are trying to > reach. :-) > > > bundle edit_line tmp_fun > { > replace_patterns: > "(\.rpmsave\))" > replace_with => value(".rpmsave | *.cf-before-edit)"); > "(\.rpmsave.\))" > replace_with => value(".rpmsave\|\.cf-before-edit\)"); > } > > > Cheers, > --Nakarin > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine