.ctags

Sat, 18 Apr 2015 19:13:12 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 18 Apr 2015 19:13:12 -0400
changeset 183
24804a083693
parent 181
83459cf3d815
child 225
5b91792c70ba
permissions
-rw-r--r--

add regex to pick up foo => sub { style definitions

--extra=+q
--exclude=*min.js

--regex-perl=/['"]?([0-9a-zA-Z_]+)['"]?\s+(,|=>)\s+sub\s+[{(]/\1/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