Array index
This commit is contained in:
1 parent
6cd96b3890
commit
0ed28aa545
1 file changed
+1
-1
@@ -12,7 +12,7 @@ let parseUsername (username: string) =
|
|||||||
let pattern = @"https?://(?:www\.)?my\.flightradar24\.com/([^/?#]+)"
|
let pattern = @"https?://(?:www\.)?my\.flightradar24\.com/([^/?#]+)"
|
||||||
let matches = Regex.Match(username, pattern)
|
let matches = Regex.Match(username, pattern)
|
||||||
|
|
||||||
if matches.Success then matches.Groups.[1].Value
|
if matches.Success then matches.Groups[1].Value
|
||||||
else username
|
else username
|
||||||
|
|
||||||
let getJsonResult result =
|
let getJsonResult result =
|
||||||
|
|||||||
Reference in new issue
Block a user