From c564225766f6209e3456f56f489d29691a6542df Mon Sep 17 00:00:00 2001 From: Bitl Date: Sun, 7 Aug 2022 12:41:34 -0700 Subject: [PATCH] fix scripts not working well with assetfixer --- Novetus/NovetusLauncher/Forms/SDK/AssetFixer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Novetus/NovetusLauncher/Forms/SDK/AssetFixer.cs b/Novetus/NovetusLauncher/Forms/SDK/AssetFixer.cs index fb2772d..1c07a74 100644 --- a/Novetus/NovetusLauncher/Forms/SDK/AssetFixer.cs +++ b/Novetus/NovetusLauncher/Forms/SDK/AssetFixer.cs @@ -201,7 +201,7 @@ public partial class AssetFixer : Form { //https://stackoverflow.com/questions/10576686/c-sharp-regex-pattern-to-extract-urls-from-given-string-not-full-html-urls-but List links = new List(); - var linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b(?=<| )", RegexOptions.Compiled | RegexOptions.IgnoreCase); + var linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b(?=<| |""|')", RegexOptions.Compiled | RegexOptions.IgnoreCase); foreach (Match m in linkParser.Matches(line)) { string link = m.Value;