I noted a strange behavior with match and matchend when I use a regex with a negative lookbehind.
p.e. text in document: -2 3-4-5-6-7-8 search string: \([0-9-]\@<!-\)\?\d[0-9]* it highights -2 3 4 5 6 7 8 (as I aspected) but when I check the match and matchend in order to copy the matches, it does include the "-" between 3-4 4-5 5-6 6-7 7-8 Does match and matchend not work with a negative lookbehind? (please see attachment if the search string doesn't show up correct) -- 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
<<attachment: match-matchend.jpg>>