How Regexp Work

From: Agustin Muņoz (no email)
Date: Thu May 02 2002 - 07:17:10 EDT


Hello Everyone,

        I'm playing with body_checks and header_checks in some of my postfix
MTA. But how can I check out the regexp i create ??. The ways I allways
used is echoing things I want to stop and grepping it :)

echo "Some Stuf" | grep some_regular_expression

        But for certain things I don't get the same results using grep or
egrep, for example:

echo "more than 10 len line" | grep .\{10,\}

AND

echo "more than 10 len line" | egrep .\{10,\}

don't return the same result... so which is the method to test postfix
regexp ??

Thanks in advance

Agustin
 

-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD