3 var validFunction = require('../valid-function')
5 , re = new RegExp('^\\s*function[\\0-\'\\)-\\uffff]*' +
6 '\\(([\\0-\\(\\*-\\uffff]*)\\)\\s*\\{([\\0-\\uffff]*)\\}\\s*$');
8 module.exports = function () {
9 var data = String(validFunction(this)).match(re);
10 return { args: data[1], body: data[2] };