From 0ed28aa545365a013d283bbdad12dd950d0949ea Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 20 Mar 2024 20:23:23 +1000 Subject: [PATCH] Array index --- AirportAlphabetGame/Controller.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AirportAlphabetGame/Controller.fs b/AirportAlphabetGame/Controller.fs index f5e4b49..68176d2 100644 --- a/AirportAlphabetGame/Controller.fs +++ b/AirportAlphabetGame/Controller.fs @@ -12,7 +12,7 @@ let parseUsername (username: string) = let pattern = @"https?://(?:www\.)?my\.flightradar24\.com/([^/?#]+)" let matches = Regex.Match(username, pattern) - if matches.Success then matches.Groups.[1].Value + if matches.Success then matches.Groups[1].Value else username let getJsonResult result =