On Mon, 2003-09-01 at 14:57, Anders Stenman wrote:
The func-menu regexp for javascript is not that good. The javascript
code below causes func-menu to think that there exists a function
called "that".
// A utility function that returns true if a string contains only
// whitespace characters.
function isblank(s)
{
...
}
Mmm, right. It's practically the same regexp as in javascript-mode
(javascript-function-re). And it's also used in fontification where it
doesn't bite when inside comments (as comments override functions wrt
fontification anyway) but does break in imenu the same way as in
func-menu.
Will try to have a look sometime. Meanwhile, fix suggestions welcome.