Saturday, February 1, 2014

Re: regular expression blindness

On Saturday, February 1, 2014 12:41:34 PM UTC+1, meino....@gmx.de wrote:
>
> Except for the error reporting line all lines start with '\.\/' but
> [...]
>
> 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?

There's \@!. A very-magic regexp version will look as follows:
\v^(\.\/)@!..

HTH,
Lech

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment