Handle TIME...MOT...LOC continuation lines that are not indented

This commit is contained in:
Dan Paulat 2022-10-20 21:28:05 -05:00
parent 5639c6c328
commit 243e874b55

View file

@ -245,7 +245,9 @@ void ParseCodedInformation(std::shared_ptr<Segment> 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;
}