Return 1 when expect matches

This commit is contained in:
Davis C 2024-04-16 20:22:13 -05:00 committed by Martin Lund
parent a605533213
commit 98653566a8

View file

@ -297,6 +297,7 @@ static int expect(lua_State *L)
// Match against the entire buffer
if (match_regex(&regex))
{
ret = 1;
break;
}
}