diff --git a/manual/function_mode.rst b/manual/function_mode.rst
index 8c01809995..f326008247 100644
--- a/manual/function_mode.rst
+++ b/manual/function_mode.rst
@@ -131,7 +131,7 @@ they look like :code:`
1. Some text
`.
Use it with the find expression::
- (]*>)([^<>]+
)
+ (?s)(]*>)(.+?
)
Place the cursor at the top of the file and click :guilabel:`Replace all`. This
function uses another of the useful extra arguments to ``replace()``: the