From da178547eee7d4a6bdbb4c5786e77f7a31942fa7 Mon Sep 17 00:00:00 2001 From: Charles Wahome Date: Wed, 17 Nov 2021 16:24:49 +0300 Subject: [PATCH] remove negative lookbehind regex part --- src/app/utils/status-message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/utils/status-message.ts b/src/app/utils/status-message.ts index ea51f8c71b..094d5380a1 100644 --- a/src/app/utils/status-message.ts +++ b/src/app/utils/status-message.ts @@ -20,7 +20,7 @@ export function convertArrayToObject(array: any[]): object { } export function extractUrl(value: string): string[] | null { - return value.toString().match(/\bhttps?:\/\/\S+(?