Forum: Cfengine Help
Subject: Re: edit_lines convergence
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19673,19693#msg-19693

I don't think that PCRE exactly matches Perl regular expressions so beware when 
testing with Perl.  I tend to use pcregrep to test matches.  However, that is 
not exactly like Cfengine's use of PCRE since CF tends to need extra escapes 
here and there.  So I also test using the regex tool at cfengine.com.

I had a client who was using the if_repaired or if_ok bodies from the standard 
library.  I don't know if the error was in the library or he introduced the 
error during his learning process but there was a logic error in one of the 
bodies that caused unexpected results.  You might double check yours.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to