diff options
| author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2025-11-17 00:32:31 +0000 |
|---|---|---|
| committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2025-11-17 00:32:31 +0000 |
| commit | 2b599499dc26f0f93537d1bea4733eae68333a1c (patch) | |
| tree | dc3b177aa2c5cfcf88cf4d5012bb0555c9f7fb5e /LearnMapKit/ADSBFileRunner.swift | |
| parent | 9070c9e6b7c7ce5671f4fad85e4aefa8c27aad28 (diff) | |
| download | ADSBDecoder-2b599499dc26f0f93537d1bea4733eae68333a1c.tar.gz ADSBDecoder-2b599499dc26f0f93537d1bea4733eae68333a1c.zip | |
Save old work that I have no clue what I where doing
Diffstat (limited to 'LearnMapKit/ADSBFileRunner.swift')
| -rw-r--r-- | LearnMapKit/ADSBFileRunner.swift | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
