help-cfengine
[Top][All Lists]
Advanced

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

Re: Stumped on editfiles problem


From: Mark . Burgess
Subject: Re: Stumped on editfiles problem
Date: Sun, 24 Aug 2003 00:03:36 +0200 (MEST)


On 23 Aug, Andrew Stribblehill wrote:
> Quoting Mark Burgess <Mark.Burgess@iu.hio.no> (2003-08-23 09:41:11 BST):
>> 
>> You cannot compare cfengine's posix regexs to perl. Perl has its own
>> library. The posix regexs are not always compatible between OS's.
>> 
>> There has been some discussion about whether we should switch to
>> perl regexs in cfengine. The main reason for not doing this is that
>> it introduces dependencies on perl that are undesirable. If some
>> alternative syntax could distinguish the two it would be 
>> useful to have both.
> 
> Actually, my suggestion was to go for Perl-compatible regular
> expressions using Phillip Hazell's PCRE library. It's not tied to
> Perl in any way.
> 
> It's on my to-do list but I'd be pleased if someone beat me to the
> punch ;)
> 


Ok, my mistake. But it still requires additional dependency. So I
think it is non-trivial.

M

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





reply via email to

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