.ctags 415 B

1234567
  1. --langdef=extPHP
  2. --langmap=extPHP:.php
  3. --regex-extPHP=/^([ \t]*(abstract[ \t]+|final[ \t]+)?)class[ \t]+([A-Za-z_][A-Za-z0-9_]*)/\3/c/
  4. --regex-extPHP=/^([ \t]*)interface[ \t]+([A-Za-z_][A-Za-z0-9_]*)/\2/c/
  5. --regex-extPHP=/(^|[ \t])define[ \t]*\([ \t]*['\"]?([A-Za-z_][A-Za-z0-9_])*/\2/d/
  6. --regex-extPHP=/(^[ \t]*(public|protected|private)?([ \t]*static)?[ \t]+)function[ \t]+&?[ \t]*([A-Za-z_][A-Za-z0-9_]*)/\4/f/