On Mon, 6 Mar 2017 08:01:58 -0800 (PST)
Ben Fritz <[email protected]> wrote:

> But, you can still match end-of-line in the middle of a pattern using
> "\n".

No, that matches a new-line character. The difference is that $ matches
the end of the line, not a character. This is called an anchor.

"Anchors are a different breed. They do not match any character at all.
Instead, they match a position before, after, or between characters."
http://www.regular-expressions.info/anchors.html


-- 
Don't stop where the ink does.

        Shawn H Corey

-- 
-- 
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/d/optout.

Reply via email to