* Re: help with regex to filter non-ascii characters...
[not found] ` <868z1426ic.fsf@kronstadt.homeunix.net>
@ 2002-10-11 19:35 ` Ed
0 siblings, 0 replies; 2+ messages in thread
From: Ed @ 2002-10-11 19:35 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <m365w8spb1.fsf@defun.localdomain>]
* Re: help with regex to filter non-ascii characters...
[not found] ` <m365w8spb1.fsf@defun.localdomain>
@ 2002-10-11 22:58 ` Ed
0 siblings, 0 replies; 2+ messages in thread
From: Ed @ 2002-10-11 22:58 UTC (permalink / raw)
Please tell me a little more.
I'm trying to test regexps all the time.
I do M-x Re-builder and get a buffer with a pair of quotes. Do I type
my regexp there? What does it act on?
I can't figure out how to work it. How about a hint?
Thanks!
Ed
Jesper Harder <harder@myrealbox.com> writes:
> Ed <ed@telestoconsulting.com> writes:
>
> > Incidently, how does one test a regexp?
>
> Try `M-x re-builder'. A nice tool for testing regexps.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-11 22:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <u3cre9u3n.fsf@telestoconsulting.com>
[not found] ` <868z1426ic.fsf@kronstadt.homeunix.net>
2002-10-11 19:35 ` help with regex to filter non-ascii characters Ed
[not found] ` <m365w8spb1.fsf@defun.localdomain>
2002-10-11 22:58 ` Ed
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).