Fix some bullshit (the re)
This commit is contained in:
@@ -515,7 +515,7 @@ func EvalRegex(L *lua.LState) int {
|
||||
L.Push(matchesTable)
|
||||
evalRegexLogger.Debug("Pushed matches table to Lua stack")
|
||||
|
||||
return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
// GetLuaFunctionsHelp returns a comprehensive help string for all available Lua functions
|
||||
|
@@ -159,4 +159,4 @@ func TestEvalComplexRegex(t *testing.T) {
|
||||
count++
|
||||
})
|
||||
assert.Equal(t, 1, count)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user