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.
>
>
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine