mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Remove another {\rm ...} construct.
Sheesh, where do these things come from?
This commit is contained in:
parent
4abcffb233
commit
fee6abea90
1 changed files with 2 additions and 2 deletions
|
@ -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
|
\emph{However}, if you want to include a literal \dfn{backslash} in a
|
||||||
regular expression represented as a string literal, you have to
|
regular expression represented as a string literal, you have to
|
||||||
\emph{quadruple} it or enclose it in a singleton character class.
|
\emph{quadruple} it or enclose it in a singleton character class.
|
||||||
E.g.\ to extract \LaTeX\ \samp{\e section\{{\rm
|
E.g.\ to extract \LaTeX\ \samp{\e section\{\textrm{\ldots}\}} headers
|
||||||
\ldots}\}} headers from a document, you can use this pattern:
|
from a document, you can use this pattern:
|
||||||
\code{'[\e ]section\{\e (.*\e )\}'}. \emph{Another exception:}
|
\code{'[\e ]section\{\e (.*\e )\}'}. \emph{Another exception:}
|
||||||
the escape sequece \samp{\e b} is significant in string literals
|
the escape sequece \samp{\e b} is significant in string literals
|
||||||
(where it means the ASCII bell character) as well as in Emacs regular
|
(where it means the ASCII bell character) as well as in Emacs regular
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue