diff --git a/routing.rst b/routing.rst
index 6b39604eed0..b9e5492c612 100644
--- a/routing.rst
+++ b/routing.rst
@@ -1670,7 +1670,8 @@ when importing the routes.
# trailing_slash_on_root: false
# you can optionally exclude some files/subdirectories when loading annotations
- # exclude: '../../src/Controller/{DebugEmailController}.php'
+ # (the value must be a string or an array of PHP glob patterns)
+ # exclude: '../../src/Controller/{Debug*Controller.php}'
.. code-block:: xml
@@ -1685,12 +1686,13 @@ when importing the routes.
the 'prefix' value is added to the beginning of all imported route URLs
the 'name-prefix' value is added to the beginning of all imported route names
the 'exclude' option defines the files or subdirectories ignored when loading annotations
+ (the value must be a PHP glob pattern and you can repeat this option any number of times)
-->
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: