ctags: do not ignore '$' at the end of the pattern (revisit #219)

This commit is contained in:
bhagwan 2021-12-23 13:53:06 -08:00
parent 2012d97260
commit 5396fa198f

View File

@ -140,7 +140,7 @@ end
function M.entry_to_ctag(entry)
local scode = entry:match("%:.-/^?\t?(.*)/")
if scode then
scode = string.gsub(scode, "[$]$", "")
-- scode = string.gsub(scode, "[$]$", "")
scode = string.gsub(scode, [[\\]], [[\]])
scode = string.gsub(scode, [[\/]], [[/]])
scode = string.gsub(scode, "[*]", [[\*]])