Fix #624: Bad regex

This commit is contained in:
Karl Yngve Lervåg 2016-11-25 20:36:59 +01:00
parent 368820d884
commit 33955aa83a

View File

@ -76,7 +76,7 @@ function! vimtex#labels#get_entries(...) " {{{1
if l:line =~# '\v\\label\{'
call add(tac, {
\ 'title' : matchstr(l:line, '\v\\label\{\zs.{-}\ze\}?\s*$'),
\ 'title' : matchstr(l:line, '\v\\label\{\zs.{-}\ze\}'),
\ 'file' : l:file,
\ 'line' : l:lnum,
\ })