On Tue, Aug 01, 2006 at 07:33:25AM +0200, Mark Burgess wrote: > Jason Martin wrote: > >SOMECLASS = ( Regcmp("^cd","${fqhost}") ) > Don't forget that regexs match the whole string, not just part of it, Yes, so it is important to use the appropriate anchros (^, $ and so on) to make sure you are matching just the portion of interest.
-Jason Martin -- This message is PGP/MIME signed.
pgp9FGw8ptAui.pgp
Description: PGP signature
_______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine