help-cfengine
[Top][All Lists]
Advanced

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

Re: [Cfengine] Re: Stumped on editfiles problem


From: Bas van der Vlies
Subject: Re: [Cfengine] Re: Stumped on editfiles problem
Date: Tue, 26 Aug 2003 09:20:01 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

It is simple ;-):
http://pcre.sourceforge.net/

Mark.Burgess@iu.hio.no wrote:

The main reason for not "just going ahead and doing this" is that there
are sometimes conflixt between different regex packages that cause
neither of them to work, and lots og segmentation faults.

I do not know about the PCRE, but I think it sound like something
we should look into. Do you have a link to it?

M

On 26 Aug, Daniel Pittman wrote:

On Tue, 26 Aug 2003, Mark Burgess wrote:

My point is that cfengine does not implement the regexs. That is a
function of your operating system. The "POSIX" regular expressions are
implemented in several versions by different manufacturers. It is not
really surprising that they do not always agree or work similarly.

Ouch. All of a sudden some of the problems I had with regexp and
cfengine also make sense.


The documentation describes what I believe is the correct for posix
regexs and refers most specifically to the GNU rx library, if I
recall. I do not know why you are having trouble. I only know that I
have often had inexplicable trouble myself on several occasions with
regexs.

In view of this, having support for the PCRE library would be a very
good thing, I feel. It would make the tool consistent across platforms
as well as providing a good, fairly well known regexp implementation.

Alternately, using the GNU rx library on all platforms would be good,
since that would have the same effect, even if it is not quite such a
nice engine...

    Daniel





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine
_______________________________________________
Cfengine mailing list
Cfengine@mailgate.sara.nl
http://mailgate.sara.nl/mailman/listinfo/cfengine


--
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv@sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************





reply via email to

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