Fix match logic

This commit is contained in:
VictoriousRaptor 2025-12-28 10:56:27 +08:00
parent be630f1ab5
commit e9a68d2563

View file

@ -115,7 +115,9 @@ namespace Flow.Launcher.Plugin.Url
public bool IsURL(string raw)
{
if (UrlRegex.Match(raw.ToLower()).Value == raw) return true;
raw = raw.ToLower();
if (UrlRegex.Match(raw).Value == raw) return true;
return false;
}