help-cfengine
[Top][All Lists]
Advanced

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

Re: editfiles and pattern matching


From: Ted Zlatanov
Subject: Re: editfiles and pattern matching
Date: Tue, 15 Jul 2003 12:27:40 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (usg-unix-v)

On Tue, 15 Jul 2003, chip@trdlnk.com wrote:
> The only thing wierd about it is an implicit '^' at the start and
> '$' at the end.  If you want to override that, toss a '.*' before or
> after your pattern.  Not sure why Mark chose this approach, but I
> would assume the engine doesn't like multiline matches and the
> implied boundaries discourage people from trying it.

I think a simple option for "no implicit regex surround" would be
very nice for those who are used to Perl, grep, etc.  I would hope
it's not too hard to implement.

Ted




reply via email to

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