diff --git a/scripts/make_index.py b/scripts/make_index.py index d482fcd..e3944e3 100644 --- a/scripts/make_index.py +++ b/scripts/make_index.py @@ -7,7 +7,7 @@ TARGETS = ["common", "utils"] EXPORT_PATTERN = re.compile( - r"^export.+(?:function|const|let|class|type|interface) (\w+)", re.MULTILINE + r"^export.+?(?:function|const|let|class|type|interface) (\w+)", re.MULTILINE ) from _dir import src_dir