On 1/29/2011 7:51 PM, Wietse Venema wrote:
Jerrale G:
/^(.*)127\.0\.0\.\d+(.*)$/

         REPLACE $1173.50.101.12$2
Surely, you will see warnings that $1173 is not a valid index.

You need to read the section titled "TEXT SUBSTITUTION" in the
pcre_table manpage

TEXT SUBSTITUTION
        Substitution of substrings from the matched expression into the  result
        string  is  possible using the conventional perl syntax ($1, $2, etc.);
        specify $$ to produce a $ character  as  output.   The  macros  in  the
        result  string  may  need  to be written as ${n} or $(n) if they aren't
        followed by whitespace.

If you can't read what the rules say, then you should not use Postfix.

        Wietse


How much more do you want us to read, Wietse. It is our first priority to read the manuals before asking questions. We dont come here to ask every single inquiry we have. And, when we do explain things, it seems like the people replying to us are the ones not reading, to know our explaination.

If you can't read what the rules say, then you should not use Postfix.

        Wietse
This is the third or fourth reply to run us in circles.

Jerrale G.
SC Senior Admin

Reply via email to