File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ \section{Built-in Module \sectcode{regex}}
2222they are followed by an unrecognized escape character.
2323\emph {However }, if you want to include a literal \dfn {backslash} in a
2424regular expression represented as a string literal, you have to
25- \emph {quadruple } it. E.g.\ to extract \LaTeX \ \samp {\e section\{ {\rm
25+ \emph {quadruple } it or enclose it in a singleton character class.
26+ E.g.\ to extract \LaTeX \ \samp {\e section\{ {\rm
2627\ldots }\} } headers from a document, you can use this pattern:
27- \code {'\e \e \e \e section\{ \e (.*\e )\} '}. \emph {Another exception: }
28+ \code {'[ \e ] section\{ \e (.*\e )\} '}. \emph {Another exception: }
2829the escape sequece \samp {\e b} is significant in string literals
2930(where it means the ASCII bell character) as well as in Emacs regular
3031expressions (where it stands for a word boundary), so in order to
Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ \section{Built-in Module \sectcode{regex}}
2222they are followed by an unrecognized escape character.
2323\emph {However }, if you want to include a literal \dfn {backslash} in a
2424regular expression represented as a string literal, you have to
25- \emph {quadruple } it. E.g.\ to extract \LaTeX \ \samp {\e section\{ {\rm
25+ \emph {quadruple } it or enclose it in a singleton character class.
26+ E.g.\ to extract \LaTeX \ \samp {\e section\{ {\rm
2627\ldots }\} } headers from a document, you can use this pattern:
27- \code {'\e \e \e \e section\{ \e (.*\e )\} '}. \emph {Another exception: }
28+ \code {'[ \e ] section\{ \e (.*\e )\} '}. \emph {Another exception: }
2829the escape sequece \samp {\e b} is significant in string literals
2930(where it means the ASCII bell character) as well as in Emacs regular
3031expressions (where it stands for a word boundary), so in order to
You can’t perform that action at this time.
0 commit comments