From 38535ab8917f025b591cce6fed50f34f45214c78 Mon Sep 17 00:00:00 2001 From: Simon Coggins Date: Thu, 15 Jan 2015 13:35:28 +1300 Subject: [PATCH] MDL-48855 dev: Fix ctags command to handle extra whitespace --- tags.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tags.txt b/tags.txt index 5a56cf54631..015a94777c0 100644 --- a/tags.txt +++ b/tags.txt @@ -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): -------------------------------