feat: Update regex patterns for flight plan parsing

The regex patterns used for parsing flight plans have been updated in the `config.go` file. The changes include adding named capture groups for each segment of the flight plan string, allowing for easier extraction of specific information. This update improves the accuracy and flexibility of the flight plan parsing functionality.
This commit is contained in:
windyboy
2024-07-20 01:17:58 +08:00
parent a5a2ced556
commit 75160df8ca
2 changed files with 46 additions and 4 deletions
-3
View File
@@ -6,9 +6,6 @@ import (
)
var _ = Describe("Pattern Parser", func() {
// BeforeEach(func() {
// config.SetMyConfig(config.GetMyConfig())
// })
Describe("FindPatterns", func() {
It("should return the correct BodyConfig based on the message body", func() {