[MIRROR] [TGUI 5.0 Prep] Removes context (#7455)

Co-authored-by: Selis <sirlionfur@hotmail.de>
Co-authored-by: Selis <selis@xynolabs.com>
This commit is contained in:
CHOMPStation2
2024-02-07 15:37:37 -07:00
committed by GitHub
parent 8e448db4a1
commit c96b18a2d3
308 changed files with 1861 additions and 2440 deletions

View File

@@ -171,8 +171,8 @@ export const highlightNode = (
// Linkify
// --------------------------------------------------------
// prettier-ignore
const URL_REGEX = /(?:(?:https?:\/\/)|(?:www\.))(?:[^ ]*?\.[^ ]*?)+[-A-Za-z0-9+&@#/%?=~_|$!:,.;(){}]+/ig;
const URL_REGEX =
/(?:(?:https?:\/\/)|(?:www\.))(?:[^ ]*?\.[^ ]*?)+[-A-Za-z0-9+&@#/%?=~_|$!:,.;(){}]+/gi;
/**
* Highlights the text in the node based on the provided regular expression.