Expression regex2

Added support for:

MyObject.prototype.myFunction = function (pram1, param2) {
  //content
};

and 

var a = {
        doA: function(param1, param2){
            var content = "stuff";   
            return content;
        }
}