> What's the difference? Your meta rule is fundamentally identical to Loren's > rule, is it not?!
Yes. The difference is the meta doesn't have an indeterminate length .* match in the middle. However, since in this case backtracking shouldn't be possible, the meta should actually be a little slower than the single regex. Loren > > Cheers, > Jeremy > > > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > Loren Wilton wrote: > > header LW_NONEWS Subject =~ /^Re:\s.*\bnews$/i > ... > > The .* should be safe in that regex since a subject isn't very long > > and the things on either side are anchored. > > If you're paranoid you could do a couple of meta rules: > > header _SUBJECT_STARTSWITH_RE Subject =~ /^Re:\s/i > header _SUBJECT_ENDSWITH_NEWS Subject =~ /\bnews$/i > meta SUBJECT_IS_RE_NEWS (_SUBJECT_STARTSWITH_RE && _SUBJECT_ENDSWITH_NEWS) > > -- > Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902 > Hispanic Business Inc./HireDiversity.com Software Engineer > >