diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-08-30 22:09:14 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-09-01 20:44:22 +0200 |
commit | 27bf4a78b7203ed77790c92134213c3398214daa (patch) | |
tree | 5e17a92e4d4704ede7823595f42fb45ef686afbf /README.md | |
parent | fc40dfc41e8b3fbbe830846499ccce122930b235 (diff) |
Changelog: Added `ignore` builtin command
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -282,6 +282,15 @@ Flush memory of `<proc>` output, so no following `expect` command will match any If the `matching` clause is used, discard only output lines matching `<regex>`. ``` +ignore [from <proc>] [matching <regex>] +``` + +Ignore output lines from `<proc>` (or context process) that match the given +`<regex>` (or all lines if the `matching` clause is not used). Affects both +past and future output of the process; the effect lasts until the end of +the block. + +``` guard <expr> ``` |