summaryrefslogtreecommitdiffstats
path: root/Doc/howto/regex.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/howto/regex.rst')
-rw-r--r--Doc/howto/regex.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst
index 655df59..c19c483 100644
--- a/Doc/howto/regex.rst
+++ b/Doc/howto/regex.rst
@@ -518,6 +518,8 @@ cache.
Compilation Flags
-----------------
+.. currentmodule:: re
+
Compilation flags let you modify some aspects of how regular expressions work.
Flags are available in the :mod:`re` module under two names, a long name such as
:const:`IGNORECASE` and a short, one-letter form such as :const:`I`. (If you're