Skip to content

Commit

Permalink
maint: Merge stable to default.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Sep 2, 2024
2 parents 83b1394 + c91b5dc commit 2849c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liboctave/util/lo-regexp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ regexp::compile_internal ()
m_names++;
}

if (new_pos - pos > 0)
if (new_pos > pos)
buf << m_pattern.substr (pos, new_pos-pos);
if (inames < 10)
buf << "(?P<n00" << inames++;
Expand Down

0 comments on commit 2849c7d

Please sign in to comment.