Skip to content

Commit

Permalink
MDL-48855 dev: Fix ctags command to handle extra whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncoggins authored and David Monllao committed Jan 23, 2015
1 parent e0ae351 commit 38535ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ easily in your editor (eg vim or emacs), you can generate one:
Exuberant ctags (default on Linux, can be compiled on other platforms):
----------------------------------------------------------------------

ctags -R --languages=php --exclude="CVS" --php-kinds=f \
--regex-PHP='/abstract class ([^ ]*)/\1/c/' \
--regex-PHP='/interface ([^ ]*)/\1/c/' \
--regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'
ctags -R --languages=php --php-kinds=f \
--regex-PHP='/abstract +class +([^ ]*)/\1/c/' \
--regex-PHP='/interface +([^ ]*)/\1/c/' \
--regex-PHP='/(public |static |abstract |protected |private )+ *function +([^ (]*)/\2/f/'

BSD ctags (Default on Mac OS X):
-------------------------------
Expand Down

0 comments on commit 38535ab

Please sign in to comment.