Got a usage question. Is there a simple mechanism, similar to Perl's use
of parantheses and $1 to 'capture' a value in one rule and USE that
captured value in the next rule?
For example:
To: Bob <re...@wherever>
Followed by one of
Subject: hello Bob
Subject: hello <re...@whatever>
So I would want to (using pure Perl as the basis for the use of $1):
header __TOME To =~ /([^<]+) <([^>]+>/
header __SUBJTOME Subject =~ /Dear ($1|$2)/
Similar tests could also catch "dear re...@whatever" at the top of a body.
The trick is to 'capture' the item in parentheses before it is destroyed
by another internal test in SA's processing....
- Charles