From cf0b453bf3c2f22af80c165c40bbf3f898455bdc Mon Sep 17 00:00:00 2001 From: Tianyi Shi Date: Mon, 11 May 2020 18:23:59 +0800 Subject: [PATCH] Update make_index.py --- scripts/make_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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