diff --git a/manual/function_mode.rst b/manual/function_mode.rst index 4793c90593..6600ae584f 100644 --- a/manual/function_mode.rst +++ b/manual/function_mode.rst @@ -93,7 +93,7 @@ write a simple function to automatically find and fix such words. # Search for words split by a hyphen return regex.sub(r'(\w+)\s*-\s*(\w+)', replace_word, match.group(), flags=regex.VERSION1 | regex.UNICODE) -Use this function with the same find expressions as before, namely:: +Use this function with the same find expression as before, namely:: >[^<>]+<