https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5947


Karsten Bräckelmann <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Karsten Bräckelmann <[EMAIL PROTECTED]>  2008-07-26 
07:48:57 PST ---
(In reply to comment #0)
> Therefore you need to also mention after that sentence how to also
> match regular expressions.

I don't think so. The existence test is a really simple version, deliberately
so, and documented to be. Its purpose is to check existence of a header, and
pretty much is a readable shorthand for

  header  HAS_HEADER  Header =~ /./

Neither does this support REs, wildcards or prefix stub headers.


The ALL header is documented, though briefly. Probably deliberately, since it
is costly, and easily can result in unintended hits. It is useful only in a
very few rather extreme cases.

I definitely believe, the simple existence documentation should not refer to
something like the special ALL header.

Closing INVALID.  (In lack of the nice NOTABGUG "not actually a bug, but a
                  design choice of some sort" resolution featured by GNOME. ;)


> header J_BUGZILLA_2 ALL =~ /^X-Bugzilla/m

This is unnecessarily complicated and slow (using the special pseudo header
ALL). Usually, there's at least one well defined header, that always appears.
For example X-Bugzilla-Product or X-Bugzilla-Who in your case. Just test their
existence.


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to