From 29998370ab8350db77d9e09ccfe4cef5e6661df6 Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 3 Jan 2023 11:04:36 +0000 Subject: [PATCH] Export const values --- src/Const.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Const.js b/src/Const.js index 17ac3b6b..ac90743b 100644 --- a/src/Const.js +++ b/src/Const.js @@ -36,19 +36,19 @@ export const EmailRegex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*) /** * Generic URL regex */ -const UrlRegex = /((?:http|ftp|https):\/\/(?:[\w+?\.\w+])+(?:[a-zA-Z0-9\~\!\@\#\$\%\^\&\*\(\)_\-\=\+\\\/\?\.\:\;\'\,]*)?)/i; +export const UrlRegex = /((?:http|ftp|https):\/\/(?:[\w+?\.\w+])+(?:[a-zA-Z0-9\~\!\@\#\$\%\^\&\*\(\)_\-\=\+\\\/\?\.\:\;\'\,]*)?)/i; /** * Extract file extensions regex */ -const FileExtensionRegex = /\.([\w]+)$/i; +export const FileExtensionRegex = /\.([\w]+)$/i; /** * Extract note reactions regex */ -const MentionRegex = /(#\[\d+\])/gi; +export const MentionRegex = /(#\[\d+\])/gi; /** * Simple lightning invoice regex */ -const InvoiceRegex = /(lnbc\w+)/i; \ No newline at end of file +export const InvoiceRegex = /(lnbc\w+)/i; \ No newline at end of file