.vim/ctags/perl.cnf

Sun, 02 Oct 2016 00:24:31 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 02 Oct 2016 00:24:31 -0400
changeset 407
f3ddcd72fa62
parent 231
494ac568f07f
permissions
-rw-r--r--

try something more subtle

--regex-perl=/^\s*fun +([0-9a-zA-Z_]+) *[{(]/\1/s,subroutines/
--regex-perl=/^\s*method +([0-9a-zA-Z_]+) *[{(]/\1/m,methods/
--regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/
--regex-perl=/^\s*extends\s+(['"])(.+)\1/\2/e,extends/
--regex-perl=/^\s*with\s+(['"])(.+)\1/\2/r,role/
--regex-perl=/^\s*has\s+['"]?([0-9a-zA-Z_]+)/\1/a,attributes/

mercurial