summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-12-10 19:57:52 (GMT)
committerFred Drake <fdrake@acm.org>1998-12-10 19:57:52 (GMT)
commitfee6abea90755fa0c9262d419718be2f5877f458 (patch)
treeb48bf964d60382f999a267f87339b3ac6f6c191f /Doc
parent4abcffb2338b932f7cef0a8e2c1b158af77168a3 (diff)
downloadcpython-fee6abea90755fa0c9262d419718be2f5877f458.zip
cpython-fee6abea90755fa0c9262d419718be2f5877f458.tar.gz
cpython-fee6abea90755fa0c9262d419718be2f5877f458.tar.bz2
Remove another {\rm ...} construct.
Sheesh, where do these things come from?
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libregex.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex
index ffe959a..444b922 100644
--- a/Doc/lib/libregex.tex
+++ b/Doc/lib/libregex.tex
@@ -40,8 +40,8 @@ they are followed by an unrecognized escape character.
\emph{However}, if you want to include a literal \dfn{backslash} in a
regular expression represented as a string literal, you have to
\emph{quadruple} it or enclose it in a singleton character class.
-E.g.\ to extract \LaTeX\ \samp{\e section\{{\rm
-\ldots}\}} headers from a document, you can use this pattern:
+E.g.\ to extract \LaTeX\ \samp{\e section\{\textrm{\ldots}\}} headers
+from a document, you can use this pattern:
\code{'[\e ]section\{\e (.*\e )\}'}. \emph{Another exception:}
the escape sequece \samp{\e b} is significant in string literals
(where it means the ASCII bell character) as well as in Emacs regular