Hi Viktor,

> On Apr 7, 2018, at 12:36 AM, Viktor Dukhovni <postfix-us...@dukhovni.org> 
> wrote:
> That's PCRE syntax.
>> Does anyone know what I’m doing wrong and/or is there a way to make Postfix 
>> provide more debug output for a regexp: operation ?
> You're using a "regexp" table, those don't support PCRE.

Thanks for your response and that’s definitely the problem I had.

I did some Googling for doing PCRE to POSIX regular expressions and updated the 

REPLACE $1 [] (localhost []) by myserver.com$2 $3

… and it works!

Not sure why I had it in my head that regexp: was PCRE (especially when there’s 
another dictionary type that explicitly says pcre:), but at least I’ve learned 

- J

Reply via email to