On Wed, Oct 06, 2004 at 10:08:23AM -0700, Loren Wilton wrote: > > body MY_SCAM_RULE_1 /free money|chep stuff/i > > Almost but not quite. YOu need aprends around the group. And to be > efficient you need a specific sequence at the start: "(?:", not just "(". > body MY_SCAM_RULE_1 /(?:free money|chep stuff)/i
actually, those rules are exactly the same. the parens aren't required if the whole RE is or'ed. aka: /foo|bar/ and /(?:foo|bar)/ both match /foo/ and /bar/ but /foo bar|baz/ is not equivilant to /foo (?:bar|baz)/ -- Randomly Generated Tagline: * Do not remove this tagline under penalty of the law *
pgpgEbyZVbUKc.pgp
Description: PGP signature