diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2024-09-28 21:04:16 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2024-09-28 21:04:16 +0200 |
commit | 61304d829c2cd4d6edf3c015adae24d0574ce7a5 (patch) | |
tree | 814b3b608acf0542f28cad3c545d3c328038a242 /README.md | |
parent | 9a84b3cd39bbed74353dcf8156bce2218c049317 (diff) |
Use "matching" as keyword for regex argument of "flush"
Changelog: Change "flush" command to take regex argument via "matching" keyword
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -248,10 +248,11 @@ In that case the expect command has to have the `capture` clause with matching n Results of the captures are then assigned to the newly created variables as strings. ``` -flush [from <proc>] +flush [from <proc>] [matching <regex>] ``` Flush memory of `<proc>` output, so no following `expect` command will match anything produced up to this point. +If the `matching` clause is used, discard only output lines matching `<regex>`. ``` guard <expr> |