Re: Using regexp to search
- On 29 Aug 2011, at 15:50, Carl Jacobsen wrote:
> - must escape a literal '-' inside character classes, otherwiseStrictly speaking not true. It is considered best practice in regexs that if the ‘-' is to be included in the expression class that it be the first character. Thusly:
> it's interpreted to be specifying part of a range
David P Henderson
"The proper office of a friend is to side with you when you are in the wrong. Nearly anybody will side with you when you are in the right."
-- Mark Twain
You received this message from the "vim_mac" 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