On Sat, 1 May 2021, Loren Wilton wrote:
Ideally rules could be written with some pseudo-language that could do
complex things, grabbing things into variables, modifying, comparing to
other things etc. Then there wouldn't be any need for Perl plugins doing
some trivial stuff.
An awful lot I think could be done simply by having rules that can capture to
named per-message-global variables, and allowing those variables to be used
in other (or the same) rules. The Perl RE syntax almost allows for this
as-is, so it shouldn't be a great stretch to modify the rules parser to allow
such things and capture the names of the variables and create the variables.
I've been wanting this for years.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
[email protected] pgpk -a [email protected]
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
The yardstick you should use when considering whether to support a
given piece of legislation is "what if my worst enemy is chosen to
administer this law?"
-----------------------------------------------------------------------
Today: May Day - Remember 110 million people murdered by Communism