普通方法转 es6 方法

1
function (.*?)\((.*?)\)
1
const $1 = ($2) =>

or

1
const $1 = ($2) :void =>

换行匹配

1
[\s\n]+