That is, given a Javascript file, this regular expression can show only the "immediate execution" of code, removing all the function definitions in the form of
function foo() {
...
}
Or can regular expression find the "matching { }
" because there can many nested { }