From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1320 Path: news.gmane.org!not-for-mail From: Ed Newsgroups: gmane.emacs.gnus.user Subject: Re: help with regex to filter non-ascii characters... Date: 11 Oct 2002 13:35:42 -0600 Message-ID: References: <868z1426ic.fsf@kronstadt.homeunix.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668117 10787 80.91.229.2 (31 Jan 2006 00:41:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:41:57 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:58 2006 Original-Sender: ehartnett@EHARTNETT3 Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 216.98.194.134 X-Original-NNTP-Posting-Host: 216.98.194.134 Original-X-Trace: 11 Oct 2002 19:36:04 GMT, 216.98.194.134 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.infoave.net!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!dimensional.com!pulsar.dimensional.com!207.40.197.76.MISMATCH!mindmeld.idcomm.com Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1460 Original-Lines: 30 X-Gnus-Article-Number: 1460 Tue Jan 17 17:28:58 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1320 Archived-At: Sorry Ian, you lost me. Can you explain a little more what you mean? And how do I see the raw message text? I am using the nnml back end. Thanks! Ed Ian Zimmerman writes: > Ed> Basically I want to ditch anything with 5 or more non-ascii > Ed> characters in a row. Here's what I am using: > > Ed> [^a-z0-9A-Z]\{5,\} > > Ed> But this does not seem to do the trick. The header above didn't > Ed> get caught by the above regular expression by Gnus. > > Perhaps because it was encoded per RFC 1342 or its successors? Try to > look at the raw message text (easy if you use nnml, somewhat harder > with other formats :) > > AFAIK, Gnus will show the decoded form to human eyes, but the pattern > matching is done on the encoded form. > > -- > Ian Zimmerman, Oakland, California, U.S.A. > GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087 > I did not vote for Emperor Bush.