Is there a regular expression that matches JavaScript functions?
Like
function abc(var1, var2){ .. } // and abc : function(var1, var2){ ... },