On Wed, 2009-07-22 at 04:27 -0700, twofers wrote: > I'm writing rules for header Subject and have a rule question. > I want a rule that would hit on specific words, no matter what order > they were. Would a rule written like this rule below accomplish that?
No. That rule would match every subject line, in strange and bizarre ways. For example, it would match "Subject Rules" because the letter R is in the "opportunity" group, the u and l in the "luxury" group, and e and s in the "cowhides" group. Since you have zero or more letters in those groups, it matches. And overall, you have zero or more matches on every line, even if you have zero.... You would be wise to read perldoc perlretut. > header LR Subject=~ > /[independent]*[opportunity]*[luxury]*[cowhides]*[win]*[money]*[rep]*[save]*/i -- Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX www.austinenergy.com
signature.asc
Description: This is a digitally signed message part