On Wed, 5 Dec 2018, Grant Taylor wrote:

On 12/5/18 5:43 PM, John Hardin wrote:
Potentially, but it's hard to use something like that in regular rule REs. That sort of smarts would probably need to be in a plugin.

Maybe (from my naive point of view) if not probably (from your more experienced point of view).

I would think that it would be possible to build meta rules that would depend on a __LANG_EN or __LANG_FR type rule that would then apply the various logic about the different ratios of different permutations.

Hm. Possibly, yes.

Which, brings up a question: Do all (sub)rules get evaluated in a meta rule? Or is there an order of operations to them? I.e.:

meta   MY_META_RULE   (__LANG_FR && __UNICODE_TEST_FR)

Would __UNICODE_TEST_FR run / consume resources even if __LANG_FR evaluates to false?

Yes, all the subrules get evaluated. There's no shortcutting because a subrule may be used in any number of meta rules.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
 Tomorrow: The 77th anniversary of Pearl Harbor

Reply via email to