From: Ed <ed@telestoconsulting.com>
Subject: Re: help with regex to filter non-ascii characters...
Date: 11 Oct 2002 13:35:42 -0600 [thread overview]
Message-ID: <ubs60wyy9.fsf@telestoconsulting.com> (raw)
In-Reply-To: <868z1426ic.fsf@kronstadt.homeunix.net>
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 <itz@speakeasy.org> 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.
next parent reply other threads:[~2002-10-11 19:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <u3cre9u3n.fsf@telestoconsulting.com>
[not found] ` <868z1426ic.fsf@kronstadt.homeunix.net>
2002-10-11 19:35 ` Ed [this message]
[not found] ` <m365w8spb1.fsf@defun.localdomain>
2002-10-11 22:58 ` Ed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ubs60wyy9.fsf@telestoconsulting.com \
--to=ed@telestoconsulting.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).