mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +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 =
|
||||
new Regex(@"((http|ftp|https)://)?([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?",
|
||||
new Regex(@"(http|ftp|https)://([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?",
|
||||
RegexOptions.Compiled);
|
||||
|
||||
private bool hasSeenLoadingMsg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue