Ralph Sobek wrote:
[snip]
Also if, I modify the second condition to include
the *next* line, as follows:
* 9876543210^0 B ?? $ ()\/^.*$?.*\<(${words})s?\>.*$?.*
the match fails entirely.
Doesn't $? expand to the exit code of the previous command here?
I'm guessing you'll want ($)? in the two spots that occurs.
On another note, can one add conditions that individually case-match:
* D ^Hello There
or
* D VAR ?? ^Hello There
I don't think so. You can accomplish this with nesting though:
:0
* case-insensitive-condition
{
:0D
* case-sensitive-condition
...
Hope that helps,
Stan