diff --git a/cookbook/email/dev_environment.rst b/cookbook/email/dev_environment.rst index d5dbabba918..1bb7f069b2e 100644 --- a/cookbook/email/dev_environment.rst +++ b/cookbook/email/dev_environment.rst @@ -140,11 +140,11 @@ by adding the ``delivery_whitelist`` option: delivery_whitelist: # all email addresses matching this regex will *not* be # redirected to dev@example.com - - "/@specialdomain.com$/" + - "/@specialdomain\.com$/" # all emails sent to admin@mydomain.com won't # be redirected to dev@example.com too - - "/^admin@mydomain.com$/" + - "/^admin@mydomain\.com$/" .. code-block:: xml @@ -156,10 +156,10 @@ by adding the ``delivery_whitelist`` option: - /@specialdomain.com$/ + /@specialdomain\.com$/ - /^admin@mydomain.com$/ + /^admin@mydomain\.com$/ .. code-block:: php @@ -170,11 +170,11 @@ by adding the ``delivery_whitelist`` option: 'delivery_whitelist' => array( // all email addresses matching this regex will *not* be // redirected to dev@example.com - '/@specialdomain.com$/', + '/@specialdomain\.com$/', // all emails sent to admin@mydomain.com won't be // redirected to dev@example.com too - '/^admin@mydomain.com$/', + '/^admin@mydomain\.com$/', ), ));