- ... Here s two matches which will find a string that extends to the end of the line: syntax match Error / %( . |[^ ] )*$/ syntax match ErrorMessage 1 of 5 , Sep 1, 2006View Source--- Tim Chase <vim@...> wrote:
> > Is there a way to highlight unmatched strings for " and ' in a syntax file?Here's two matches which will find a string that extends to the end of the
> What is an "unmatched string"?
syntax match Error /"\%(\\.\|[^"]\)*$/
syntax match Error /'\%(\\.\|[^']\)*$/
Do you Yahoo!?
Take part in Total Girls Ultimate Slumber Party and help break a world record