From 962c6b58d18f033ac110dfd27746ff018535205b Mon Sep 17 00:00:00 2001 From: Samual Date: Tue, 7 Jan 2025 23:43:00 +0000 Subject: [PATCH] update combat binlog regex --- src/parseBinlog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parseBinlog.ts b/src/parseBinlog.ts index d31dbee..9e5235c 100644 --- a/src/parseBinlog.ts +++ b/src/parseBinlog.ts @@ -200,7 +200,7 @@ export function* parseBinlog(binlog: string[]): Generator][&%+!^#]u? )+| )xa(?: \/ (?:[2-9a@*?>][&%+!^#] )+xa)?(?: \/ (?:X )*(?:[2-9a@*?>][&%+!^#] )*)?(?:ha[\da-f] )?$/ + /^`n--` \d+ \d+ (?:\d+|-) \/ (?:(?:[2-9a@*?>][&%+!^#]u? )+| )xa(?: \/ (?:[2-9a@*?>][&%+!^#] )+xa)?(?: \/ (?:X )*(?:[2-9a@*?>][&%+!^#] )*)?(?:ha[\da-f] )?$/ .test(binlog[0]), () => `${HERE} ${JSON.stringify(binlog[0])}` )