File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Tools/VBA-stdError-Wrapper Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ function main() {
142142
143143 //Loop through each public function
144144 const functionFinder =
145- / (?< header > (?< ! ' ) (?: P u b l i c | P r i v a t e | F r i e n d ) (?: (?< type > F u n c t i o n | S u b | P r o p e r t y ) ? (?< access > G e t | L e t | S e t ) ? ) (?< name > \w + ) \( (?< params > (?: \( \) | [ ^ ) ] ) * ) \) (?: a s (?< retType > (?: \w + \. ) ? \w + (?: \( \) ) ? ) ) ? ) (?< body > (?: .| \s ) + ?) \b (?< footer > E n d \s + (?: F u n c t i o n | S u b | P r o p e r t y ) ) / gim;
145+ / ^ [ \t ] * (?< header > (?: P u b l i c | P r i v a t e | F r i e n d ) (?: (?< type > F u n c t i o n | S u b | P r o p e r t y ) ? (?< access > G e t | L e t | S e t ) ? ) (?< name > \w + ) \( (?< params > (?: \( \) | [ ^ ) ] ) * ) \) (?: a s (?< retType > (?: \w + \. ) ? \w + (?: \( \) ) ? ) ) ? ) (?< body > (?: .| \s ) + ?) \b (?< footer > E n d \s + (?: F u n c t i o n | S u b | P r o p e r t y ) ) / gim;
146146 content = content . replace (
147147 functionFinder ,
148148 (
You can’t perform that action at this time.
0 commit comments