On 12Aug2014 14:11, Gary Johnson <garyj...@spocom.com> wrote:
On 2014-08-12, Gary Johnson wrote:
Something else worth mentioning is that the effect of these rules
depends on the order in which they are defined. Later rules
supersede earlier rules.
I didn't say that very well. Rules are executed in the order in
which they are defined, so later rules are executed after earlier
rules and their coloring may replace that of earlier rules.
Aye, very important especially when debugging rules that seem not to be
working.
Another nuance is that the index rules match a pattern and colour the entire
index line. By contract, the body rules match a regexp and colour only the
macthed section, so my "FAIL" body rules just colour the word "FAIL" in red.
Which I think is good!
Cheers,
Cameron Simpson <c...@zip.com.au>
All the doors in this ship have nice sunny dispositions. It is their
pleasure to open for you, and their satisfaction to close with the knowledge
of a job well done. - Marvin _The Hitchhiker's Guide to the Galaxy_