On Thu, Apr 18, 2002 at 05:15:54AM +0200, Sven Guckes wrote:
> * Gary Johnson <[EMAIL PROTECTED]> [2002-04-18 03:04]:
> > So you could probably adapt it for your
> > subject search. Maybe this (untried):
> > ~s "\^[A-Z0-9 [:punct:]]+$"
>
> sorry, no. the subject line may have
> a LOT of other characters - much more
> than just letters and punctuation.
What else is there? From the mutt manual:
[:punct:]
Punctuation characters (characters that are not letter, digits,
control characters, or space characters).
so it seems to me that upper-case letters, digits, spaces, and [:punct:]
would include everything that would be in a subject except perhaps a
tab.
On Thu, Apr 18, 2002 at 05:20:12AM +0200, Sven Guckes wrote:
> here are some examples to test your ideas:
>
> Subject: THIS SUBJECT IS IN CAPS ONLY
> Subject: THIS 1 2!
> Subject: !ME TOO!
> Subject: A N D M E T H R E E
> Subject: !$#A&^N%@D#&*M%*E&!#^
I tested the search pattern
[A-Z0-9 [:punct:]]+
on the above examples and it matched all of every one.
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |