Skip to content

Commit 93e7d4d

Browse files
committed
update to newer api
1 parent 21ca457 commit 93e7d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/_example-extractor/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const NS = '@krassowski/jupyterlab-lsp-example-extractor';
1313
export const extractor = new RegExpForeignCodeExtractor({
1414
language: 'foo',
1515
pattern: '^%%(foo)( .*?)?\n([^]*)',
16-
extract_to_foreign: '$3',
16+
foreign_capture_groups: [3],
1717
is_standalone: true,
1818
file_extension: 'foo'
1919
});

0 commit comments

Comments
 (0)