mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Return 1 when expect matches
This commit is contained in:
parent
a605533213
commit
98653566a8
1 changed files with 1 additions and 0 deletions
|
|
@ -297,6 +297,7 @@ static int expect(lua_State *L)
|
|||
// Match against the entire buffer
|
||||
if (match_regex(®ex))
|
||||
{
|
||||
ret = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue