Sat, 18 Apr 2015 19:13:12 -0400
add regex to pick up foo => sub { style definitions
.ctags | file | annotate | diff | comparison | revisions |
--- a/.ctags +++ b/.ctags @@ -1,6 +1,7 @@ --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/