[linux-l] mutt mailboxes regular expressions

Pascal Volk linux-l at edelhost.de
Mo Jan 17 18:59:44 CET 2005


On Mo, 17 Jan 2005 Ivan Villanueva wrote:

> Hallo,
> ich habe 2 Probleme mit Mutt.
Ich habe ggf. eine Lösung.

> 2) Wenn ch nach Emails mit folgenden regular expression suche:
>     ^X-Spam-Score.*\*\*\*
                    ^ = kein bis unbestimmte Menge x-beliebiger Zeichen.
> werden alle Emails markiert, und nicht nur die mit drei *. :-?
> Was mache ich falsch ?

Also mit PCRE geht es u.a. mit:     /^X-Spam-Score:\s\*{3,}/

    pvo at el-presidente:~$ pcretest 
    PCRE version 4.5 01-December-2003

      re> /^X-Spam-Score:\s\*{3,}/
    data> X-Spam-Score: **
    No match
    data> X-Spam-Score: ***
     0: X-Spam-Score: ***
    data>


HTH
Pascal
-- 
rm -Rfv /tmp/../ && echo "are you sure???"

Die BeLUG im IRC:
irc://irc.freenode.net/#belug
 ____ ____ ____ ____ ____ _________ ____ ____ ____ ____ ____ ____ 
 ||/ |||j |||o |||i |||n |||       |||# |||b |||e |||l |||u |||g ||
 ||__|||__|||__|||__|||__|||_______|||__|||__|||__|||__|||__|||__||
 |/__\|/__\|/__\|/__\|/__\|/_______\|/__\|/__\|/__\|/__\|/__\|/__\|

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 189 bytes
Beschreibung: Digital signature
URL         : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20050117/24fd748a/attachment.sig>


Mehr Informationen über die Mailingliste linux-l