On Fri, Aug 17, 2012 at 11:09:21AM EDT, Tim Chase wrote:
[..]
> I was a little surprised by this one. Starting with a "-u NONE" vim,
> I ":set hls" and issued
>
> /r[^\n]
>
> which should have found all the "r" characters in my text that
> weren't at the end of the line. Yet, as Paul notes, it found "r"
> characters at the end of a line. Curious whether it needed to allow
> newlines (":help /[\n]") to exclude them, I tried changing the
> pattern to
>
> /r\_[^\n]
>
> to no avail.
[..]
How about:
| /r[^\r]
CJ
--
Focus follow mouse users will burn in hell!!!
--
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
Friday, August 17, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment