Saturday, February 1, 2014

Re: regular expression blindness

> But how can I NOT find a sepecific sequence of characters at the
> beginning of a line?

since it's just the first 2 characters, i'd try with

/^[^\.][^\/]

but if you need to delete all the other lines you should also be able to do

:v/\.\//d

(see :help :v)

anyway a little search on google should give you more answers

--
--
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