diff --git a/syntax_checkers/lex/flex.vim b/syntax_checkers/lex/flex.vim index 87a3120b..971068f8 100644 --- a/syntax_checkers/lex/flex.vim +++ b/syntax_checkers/lex/flex.vim @@ -23,7 +23,7 @@ function! SyntaxCheckers_lex_flex_GetHighlightRegex(item) \ '\m^\(unrecognized %option\|bad \|bad character\( class expression\)\=\): \zs.*') if term == '' let term = matchstr(a:item['text'], - \ '\m^\(Definition value for\|undefined definition\) {\zs[^}]\+\ze}') + \ '\m^\(Definition value for\|undefined definition\) \zs{[^}]\+}\ze') endif return term != '' ? '\V' . term : ''