mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-21 16:09:19 +01:00
Change URL regex, optional protocol
This commit is contained in:
parent
21a057e0bd
commit
f99c0736f4
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