diff --git a/synapse/tools/autodoc.py b/synapse/tools/autodoc.py
index <HASH>..<HASH> 100644
--- a/synapse/tools/autodoc.py
+++ b/synapse/tools/autodoc.py
@@ -225,7 +225,7 @@ def docModel(outp, fd, core):
 
             regex = inst.get('regex')
             if regex is not None:
-                cons.append('- regex: %s' % (regex,))
+                cons.append('- regex: ``%s``' % (regex,))
 
             lower = inst.get('lower')
             if lower:
Do not allow a regex to be interpreted as rst