From 7788f1b0858b0724f71de95e7a9b1db27a722c95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Moreau?= <cedric.moreau@monemprunt.com>
Date: Fri, 8 Apr 2022 16:49:11 +0200
Subject: [PATCH] fix: keyword "Certifications" can now safely be used in a TX
 comment

---
 app/lib/common-libs/parsers/block.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/lib/common-libs/parsers/block.ts b/app/lib/common-libs/parsers/block.ts
index 438111db3..0a7508789 100644
--- a/app/lib/common-libs/parsers/block.ts
+++ b/app/lib/common-libs/parsers/block.ts
@@ -74,7 +74,7 @@ export class BlockParser extends GenericParser {
         },
         {
           prop: "excluded",
-          regexp: /Excluded:\n([\s\S]*)Certifications/,
+          regexp: /Excluded:\n([\s\S]*?)Certifications/,
           parser: splitAndMatch("\n", CommonConstants.PUBLIC_KEY),
         },
         {
-- 
GitLab