Explain octal escapes. Fixes #542226.

This commit is contained in:
Martin v. Löwis 2002-04-11 12:24:12 +00:00
parent 52aefc8a7b
commit 81bdc93d2f
1 changed files with 3 additions and 5 deletions

View File

@ -373,11 +373,9 @@ also accepted by the regular expression parser:
\\
\end{verbatim}
Note that octal escapes are not included. While the parser can
attempt to determine whether a character is being specified by it's
ordinal value expressed in octal, doing so yields an expression which
is relatively difficult to maintain, as the same syntax is used to
refer to numbered groups.
Octal escapes are included in a limited form: If the first digit is a
0, or if there are three octal digits, it is considered an octal
escape. Otherwise, it is a group reference.
\subsection{Matching vs. Searching \label{matching-searching}}