Fix #624: Bad regex
This commit is contained in:
parent
368820d884
commit
33955aa83a
@ -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,
|
||||
\ })
|
||||
|
Loading…
x
Reference in New Issue
Block a user