[email protected] wrote:
Hi,
sorry, this may be a very stupdi question (tm) but...
I try to find an error-line in a very longis tar output log
(and do later some editing with it). By the way...I am doing this
on Linux...:)
Except for the error reporting line all lines start with '\.\/' but
I dont know it contents. Searching for 'error' gives me be far to many
hits from regular files (listed in the log).
So...I am trying to find any line NOT starting with '\.\/' (dot
slash).
I can invert a singe character with [^c] (meaning anything not 'c')
and I can NOT find alternatives...
But how can I NOT find a sepecific sequence of characters at the
beginning of a line?
You could try my LogiPat plugin. In this case, using it would be:
:LP !"\.\/" && "error"
ie. NOT ./ and must have "error".
You can get LogiPat from my website:
http://www.drchip.org/astronaut/vim/index.html#LOGIPAT.
Regards,
Charles Campbell
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.