We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f430f44 commit 9566375Copy full SHA for 9566375
1 file changed
src/timeline_source.cc
@@ -912,7 +912,7 @@ timeline_source::rebuild_indexes()
912
913
{
914
static const auto START_RE = lnav::pcre2pp::code::from_const(
915
- R"(^(?:start(?:ed)?|begin)|(?:start(?:ed)?|begin)$)",
+ R"(^(?:start(?:ed)?|begin)|\b(?:start(?:ed)?|begin)$)",
916
PCRE2_CASELESS);
917
918
std::vector<opid_row*> start_tags;
@@ -938,7 +938,7 @@ timeline_source::rebuild_indexes()
938
&& start_tags[i]->or_name == start_tags[i + 1]->or_name)
939
940
start_tags[i]->or_value.otr_range.tr_end
941
- = start_tags[i + 1]->or_value.otr_range.tr_begin;
+ = start_tags[i + 1]->or_value.otr_range.tr_begin - 1us;
942
} else {
943
start_tags[i]->or_value.otr_range.tr_end = last_log_time;
944
}
0 commit comments