Re: BUG - *Matching rules won't match multiple tabs.

Mark Burgess <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.bugs,gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Jo, please use the tool provided. There is nothing wrong with these 
posix standard routines. You might be writing perl regexs or regexs from 
other non-posix libraries by mistake.

M

Jo Rhett wrote:
>  > The XXXMatching function have to match the entire line - not just a
>  > line fragment.
>
> I've found a few example cases where it doesn't match, even when it is 
> the entire line.  (snip other stuff)
>
> Original line: (viewed using :set list in vi)
>    0^I^I0$
>
> editfiles:
>      { /home/jrhett/test/testfile
>          DeleteLinesMatching "^0^I^I0"
>          DeleteLinesMatching "^0^I^I0$"
>      }
>
> Neither one matches.  cfengine will never match two tabs in a row.  Two 
> spaces is fine.  A tab and a space is fine.  But never two tabs in a row.
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.