mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 14:57:45 +01:00
Merge pull request #266 from Aireil/fix_url_regex
Require protocol for URL match
This commit is contained in:
commit
02204eda7b
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ namespace Dalamud.Game {
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly Regex urlRegex =
|
private readonly Regex urlRegex =
|
||||||
new Regex(@"((http|ftp|https)://)?([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?",
|
new Regex(@"(http|ftp|https)://([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?",
|
||||||
RegexOptions.Compiled);
|
RegexOptions.Compiled);
|
||||||
|
|
||||||
private bool hasSeenLoadingMsg;
|
private bool hasSeenLoadingMsg;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue