bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in use of regexec(), or misunderstanding of regexps?


From: Dave Alden
Subject: Bug in use of regexec(), or misunderstanding of regexps?
Date: Fri, 15 Nov 2002 11:38:40 -0500
User-agent: Mutt/1.2.5.1i

Hi,
  I'm having trouble getting "LocateLineMatching" to work.  The line I'm trying 
to
match is "timeout=10", the string I've tried passing is "^timeout*", but it 
returns
7 in pmatch.rm_eo (this is under RedHat 8.0 and 7.3).  This means that it fails 
the
"pmatch.rm_eo == strlen(ip->name)" check.  Am I doing something wrong?
...thnx,
...dave alden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]