[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Réf. : problems with LocateLineMatching regex
From: |
Jamie Wilkinson |
Subject: |
Re: Réf. : problems with LocateLineMatching regex |
Date: |
Fri, 1 Aug 2003 19:07:38 +1000 |
User-agent: |
Mutt/1.5.4i |
This one time, at band camp, paguerlais@airfrance.fr wrote:
>When you use regexps within cfengine, your regexp must match the entire
>line (from ^ t o $). You must think of regexps mostly like expr regexps,
>not like Perl regexps.
That makes sense (I think I've encountered that before), but unfortunately
it is not working for me.
>Therefore, your LocateLineMatching regexp can't match /var/log/httpd/...
>You should write :
>LocateLineMatching '.*/httpd.*log[:space:]+{[:space:]*'
That exact regex gives me the same error as before.
--
jaq@spacepants.org http://spacepants.org/jaq.gpg