The expansion is entirely correct because it uses the C preprocessor."
t)
+(defvar cperl-imenu--function-name-regexp-perl
+ (concat
+ "^\\("
+ "[ \t]*\\(sub\\|package\\)[ \t\n]+\\([a-zA-Z_0-9:']+\\)[ \t]*\\(([^()]*)[ \t]*\\)?"
+ "\\|"
+ "=head\\([12]\\)[ \t]+\\([^\n]+\\)$"
+ "\\)"))
+
(defvar cperl-outline-regexp
(concat cperl-imenu--function-name-regexp-perl "\\|" "\\`"))
;; Previous space could have gone:
(or (memq (preceding-char) '(?\ ?\t)) (insert " "))))))
-(defvar cperl-imenu--function-name-regexp-perl
- (concat
- "^\\("
- "[ \t]*\\(sub\\|package\\)[ \t\n]+\\([a-zA-Z_0-9:']+\\)[ \t]*\\(([^()]*)[ \t]*\\)?"
- "\\|"
- "=head\\([12]\\)[ \t]+\\([^\n]+\\)$"
- "\\)"))
-
(defun cperl-imenu-addback (lst &optional isback name)
;; We suppose that the lst is a DAG, unless the first element only
;; loops back, and ISBACK is set. Thus this function cannot be