procmail
[Top] [All Lists]

Re: detecting overused words

2006-08-29 04:45:25

On Mon, 28 Aug 2006, Eric Wood wrote:

From: "Udi Mottelo"
* 1^1 (\ float\ |>\ .\ <)
 You can omit the '\' before spaces:

* 1^1 ( float |> . <)

 it will make the text a little bit readable because '\<' and
 '\>' have special meaning.

Is that because spaces are protected by the parens?

        Yes and No, the spaces are part of the string you are looking
        for.  B_U_T, you may ask how procmail will know where the string
        start (you can put spaces betwin flags).  What we like to do is
        put null parenthesis or put the whole string in parenthesis:
        If you are looking for " abc"

* () abc

        Or

* ( abc)

        If you are looking for "a bc", all you need is:

* a bc

        If I have space at the end of the string I put enpty ()
        to make it more readable:  For example "abc "

* abc ()


Bye,
  Udi

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>