Can I change the regular expression used when guessing function names?
Yes, It is stored in the guessPattern pref, and defaults to (\w+)\s*[:=]\s*$. When guessing function names, Venkman matches all of the text preceeding the last instance of the word function on the starting line of the function. The results of the first capture (the (\w+) part in the default expression) will be used as the function’s name. The maximum number of previous lines to include is set to 5 by defaut, and can be changed with the guessContext preference.