info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rx and gnus-posting-styles


From: Tassilo Horn
Subject: Re: rx and gnus-posting-styles
Date: Thu, 19 Jul 2007 08:44:43 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Hadron <hadronquark@googlemail.com> writes:

>> Thanks Tassillo, but why the "bol"?

The `bol' stands for beginning-of-line and is the same as ^ in a
regexp. Indeed, in my examples these are not really needed.

>> Am I right in thinking the "or" part is "any string containing the
>> following"?.

Yes, (or "foo" "bar") matches any string containing "foo" or "bar".

> Or in other words how to match, using rx, all groups containing
> "linux" or "emacs" for example?

    (,(rx (or "linux" "emacs"))
     (address "hadron+linux@foobar.invalid"))

Bye,
Tassilo
-- 
The  desire  to  be  rewarded  for one's  creativity  does  not  justify
depriving  the world  in  general of  all  or part  of that  creativity.
(Richard M. Stallman)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]