From 243e874b5541d2ec0b49f4ac8e5ba8cb2bf595e9 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Thu, 20 Oct 2022 21:28:05 -0500 Subject: [PATCH] Handle TIME...MOT...LOC continuation lines that are not indented --- wxdata/source/scwx/awips/text_product_message.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wxdata/source/scwx/awips/text_product_message.cpp b/wxdata/source/scwx/awips/text_product_message.cpp index 2c49077b..a27e593d 100644 --- a/wxdata/source/scwx/awips/text_product_message.cpp +++ b/wxdata/source/scwx/awips/text_product_message.cpp @@ -245,7 +245,9 @@ void ParseCodedInformation(std::shared_ptr segment, } else if (codedMotionBegin != productContent.cend() && codedMotionEnd == productContent.cend() && - !it->starts_with(" ") /* Continuation line */) + !it->starts_with(" ") && + !std::regex_search(*it, std::regex {"^[0-9]"}) + /* Continuation lines */) { codedMotionEnd = it; }