APPROVE COMMIT packages
Peter Thiemann <thiemann(a)informatik.uni-freiburg.de> writes:
Hello Peter,
I looked at it again and came up with
(defvar fume-function-name-regexp-javascript
(concat
"^\\("
"\\|"
"\\([^/]\\|/[^/\\*]\\|/\\*\\([^\\*]\\|\\*[^/]\\)*\\*/\\)[ \t;{]"
"\\)"
"function[ \t]+"
"\\([a-zA-Z_\\$][a-zA-Z0-9_\\$]*\\)"
;; "[ \t\n]*("
)
"Expression to get JavaScript function names.")
Thanks for the patch, I've applied it with the following ChangeLog (if
you don't like it, provide your own the next time :-)).
2004-12-22 Peter Thiemann <thiemann(a)informatik.uni-freiburg.de>
* func-menu.el (fume-function-name-regexp-javascript): Enhance the
regexp, don't register functions in comment sections.
norbert.