From 408532185e0e85f88e808407e9ae9807eb2b232a Mon Sep 17 00:00:00 2001 From: rwx <8823632+rwx666888@user.noreply.gitee.com> Date: Wed, 9 Aug 2023 19:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9demo=20=E4=B8=AD=E6=8F=90?= =?UTF-8?q?=E5=8F=96=20=E6=B3=A8=E8=A7=A3=E7=9A=84=E6=AD=A3=E5=88=99?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3=E5=8D=A1=E6=AD=BB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-data.js b/demo-data.js index 26e6ef7..3dcc9bb 100644 --- a/demo-data.js +++ b/demo-data.js @@ -1411,7 +1411,7 @@ function TEXT_get_jsDoc(name, cb) { async: false, dataType: 'text', success: function (d) { - var t = d.match(/\/\*\*((.|\s)+?)\*\/\r\n.+?(?={\r\n)/gi); + var t = d.match(/(?<=,\s+?)\/\*(?:[\s\S]*?)\*\/\s+\w+:\s+function\([^\(\)]*?\)/gi); $.each(t, function (i, n) { if (n.indexOf(name) !== -1) { cb && cb(n.replace(/ {4}/g, ''));