File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ export class MetadataView {
219219 const functionName = item . path ! . includes ( '/EventSubscriptions/' ) ?
220220 typedResult . MetaDataObject . EventSubscription . Properties . Handler . split ( '.' ) . slice ( - 1 ) . pop ( ) :
221221 typedResult . MetaDataObject . ScheduledJob . Properties . MethodName . split ( '.' ) . slice ( - 1 ) . pop ( ) ;
222- const regExpString = `^(процедура|функция|procedure|function)\\s*${ functionName } \\([a-zа-яё\\s,]+ \\)\\s*Экспорт` ;
222+ const regExpString = `^(процедура|функция|procedure|function)\\s*${ functionName } \\([a-zа-яё\\s,]* \\)\\s*Экспорт` ;
223223
224224 const text = doc . getText ( ) . split ( '\n' ) ;
225225 // TODO: Без малого секунду ищет на 1500 строках и две секунды на 9000 строках.
@@ -1034,4 +1034,4 @@ function GetContent(object: { [key: string]: { [key: string]: string } }) {
10341034 return object [ 'v8:item' ] [ 0 ] [ 'v8:content' ] . split ( '"' ) . join ( '"' ) ;
10351035 }
10361036 return object [ 'v8:item' ] [ 'v8:content' ] . split ( '"' ) . join ( '"' ) ;
1037- }
1037+ }
You can’t perform that action at this time.
0 commit comments