Can't match any or not output
I'm wanting to match output which could be empty or not. I can match known empty output with "(eol)", and any non-empty output with ".* (re), but not output which may be empty or arbitrary non-empty.
For example, this fails: $ echo -n $ echo -n .* (re)
Maybe allow (eol) and (re) on the same match? Or allow several match lines and a way to say "any of these"?