nix that. forgot to "dot my regex"
LocateLineMatching "foo.*" works. -luis Luis Cerezo wrote: >Folks, > >i can't seem to get a match on LocateLineMatching in edit files... > >if the file has "foo foo foo 123456" > >LocateLineMatching "foo" = fails to match >LocateLineMatching 'foo' = fails to match >LocateLineMatching "foo*" = fails to match >LocateLineMatching "/^foo*/" = fails to match >LocateLineMatching 'foo*' = fails to match > >if the line is "foo" >then >LocateLineMatching "foo" = works... > >I also tried >LocateLineMatchingRegexp (?! found a reference to this on the bb, but it >returns as Unknown edit action ) > >what am I missing here? > > >-luis >_______________________________________________ >Help-cfengine mailing list >Help-cfengine@cfengine.org >http://cfengine.org/mailman/listinfo/help-cfengine > > -- Luis E. Cerezo PGS Global Shared Services - IT 281.509.8397 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine