php ctags

--regex-php=/^[ \t]*[(private| public|static)( \t)]*function[ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1/f, function, functions/
 --regex-php=/^[ \t]*[(private| public|static)]+[ \t]+\$([A-Za-z0-9_]+)[ \t]*/\1/p, property, properties/
 --regex-php=/^[ \t]*(const)[ \t]+([A-Za-z0-9_]+)[ \t]*/\2/d, const, constants/
 --regex-PHP='/abstract class ([^ ]*)/\1/c/' \
 --regex-PHP='/interface ([^ ]*)/\1/c/' \
 --regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'])

posted @ 2012-05-17 14:13  小伍BLOG  阅读(375)  评论(0编辑  收藏  举报