]> granicus.if.org Git - python/commitdiff
Remove another {\rm ...} construct.
authorFred Drake <fdrake@acm.org>
Thu, 10 Dec 1998 19:57:52 +0000 (19:57 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 10 Dec 1998 19:57:52 +0000 (19:57 +0000)
Sheesh, where do these things come from?

Doc/lib/libregex.tex

index ffe959aa0e2735b0c99b72f092f827fc8ff6aa43..444b9229f512ddd056b9a7b0883192df02967db7 100644 (file)
@@ -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