From 2b599499dc26f0f93537d1bea4733eae68333a1c Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Mon, 17 Nov 2025 00:32:31 +0000 Subject: Save old work that I have no clue what I where doing --- LearnMapKit/ADSBFileRunner.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LearnMapKit/ADSBFileRunner.swift') diff --git a/LearnMapKit/ADSBFileRunner.swift b/LearnMapKit/ADSBFileRunner.swift index d61b91b..796892c 100644 --- a/LearnMapKit/ADSBFileRunner.swift +++ b/LearnMapKit/ADSBFileRunner.swift @@ -59,7 +59,8 @@ class ADSBFileRunner { for line in self.adsb_source.components(separatedBy: .newlines) { var found=false do { - if let tokenMatch = try matchADSBLong.prefixMatch(in: line) { + let matchADSBLong = MatchADSBLong() + if let tokenMatch = matchADSBLong.prefixMatch(line) { //print("\(String(tokenMatch.output))") found = true let str = String(tokenMatch.output) -- cgit v1.2.3