On Thu, Oct 31, 2013 at 11:53 AM, Charles Campbell <charles.e.campb...@nasa.gov> wrote: > MMAMBMB > # a b b > # b b > MMMMM > > At the time the syntax hilighter sees the "#" in "# b b", note that > '#\=\s*\zsb' DOES NOT MATCH. > However, the "M" syntax DOES MATCH, and so its highlighted as MyComment. > > Syntax highlighting is tricky.
This does not explain why the bs in the second line are still not matched even when the comment rule is removed. Is it that the entire nextgroup is thrown away, because the # is not officially part of the B match, so it is counted as not matching? -- Dan -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.