diff --git a/internal/parsers/aviation_parser.go b/internal/parsers/aviation_parser.go index ab9bd3b..376abca 100644 --- a/internal/parsers/aviation_parser.go +++ b/internal/parsers/aviation_parser.go @@ -16,15 +16,18 @@ const ( ) var ( - categoryRegex = regexp.MustCompile(`\((?P[A-Z]+)-`) - emptyLineRemove = regexp.MustCompile(`(?m)^\s*$`) - bodyOnly = regexp.MustCompile(`(.|\n)?(ZCZC(.|\n)*)NNNN(.|\n)?$`) - originator = regexp.MustCompile(`(?P[0-9]+)\s(?P[A-Z]+)`) - navPattern = regexp.MustCompile(`(?m)^NAV\/(?P