Skip to content

Commit e9a68d2

Browse files
Fix match logic
1 parent be630f1 commit e9a68d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • Plugins/Flow.Launcher.Plugin.Url

Plugins/Flow.Launcher.Plugin.Url/Main.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ private static string GetHttpPreference()
115115

116116
public bool IsURL(string raw)
117117
{
118-
if (UrlRegex.Match(raw.ToLower()).Value == raw) return true;
118+
raw = raw.ToLower();
119+
120+
if (UrlRegex.Match(raw).Value == raw) return true;
119121

120122
return false;
121123
}

0 commit comments

Comments
 (0)