From a18e33c0a1e6e64e81eee87d23567e142ab09f07 Mon Sep 17 00:00:00 2001 From: xuhong Date: Mon, 27 May 2024 16:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=97=A5=E5=BF=97=E6=96=AD?= =?UTF-8?q?=E7=82=B9=E4=B8=8D=E8=83=BD=E8=BE=93=E5=87=BA=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/mi2/mi2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/mi2/mi2.ts b/src/backend/mi2/mi2.ts index e810d10..3424e9e 100644 --- a/src/backend/mi2/mi2.ts +++ b/src/backend/mi2/mi2.ts @@ -678,7 +678,7 @@ export class MI2 extends EventEmitter implements IBackend { setLogPoint(bkptNum, command): Thenable { // this.log("stderr", `setLogoPoint : ` + command); - const regex = /{([a-z0-9A-Z-_\.\>\&\*]*)}/gm; + const regex = /{([a-z0-9A-Z-_\.\>\&\*\[\]]*)}/gm; // Alternative syntax using RegExp constructor // const regex = new RegExp('{([a-z0-9A-Z-_\\*]*)}', 'gm')