[EMAIL PROTECTED] a écrit :
> How to implement logic like below in one HASH map?
> pcre:/etc/postfix/maps/check_client:
>   /mail\.ru/  DUNNO
>   
I guess you mean
/mail\.ru$/   DUNNO
otherwise, the expression matches mail.ruby.org and other stuff...

>   /yandex\.ru/  DUNNO
>   

same as above.
>   /.*/ goto_check_class
>   
/./   goto_check_class
is shorter....


Back to your question. no, you can't. there is no "default" in hash maps.

Reply via email to