Manpage: Fix backslash encoding

Literal backslash needs to be written as \e.
This commit is contained in:
Jakob Haufe 2024-12-01 14:20:45 +01:00 committed by Martin Lund
parent 01e637cdf4
commit 27f8f2c4e6

View file

@ -435,7 +435,7 @@ available:
.IP "\fBexpect(string, timeout)"
Expect string - waits for string to match or timeout before continuing.
Supports regular expressions. Special characters must be escaped with '\\\\'.
Supports regular expressions. Special characters must be escaped with '\e\e'.
Timeout is in milliseconds, defaults to 0 meaning it will wait forever.
Returns 1 on successful match, 0 on timeout, or -1 on error.