Hi Ricardo,
I used cond conditional and gave a try. This worked out
with following line.
I also included string-match which also worked.
All I need to look for next step is to use regular expressions
instead of string.
(cond ((string-match "(starting phase" str) (colorized-display str '(GREEN)))You also see that “if” alone is not sufficient here, because you have more than one expression. You could nest “if” expressions, but that’s ugly. You can use “cond” instead.
Please look at the examples in my previous email again. I used “string-match”, “match:substring”, and “and=>”, which you may not be familiar with yet.