Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81bdc93

Browse files
committed
Explain octal escapes. Fixes #542226.
1 parent 52aefc8 commit 81bdc93

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Doc/lib/libre.tex

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,9 @@ \subsection{Regular Expression Syntax \label{re-syntax}}
373373
\\
374374
\end{verbatim}
375375

376-
Note that octal escapes are not included. While the parser can
377-
attempt to determine whether a character is being specified by it's
378-
ordinal value expressed in octal, doing so yields an expression which
379-
is relatively difficult to maintain, as the same syntax is used to
380-
refer to numbered groups.
376+
Octal escapes are included in a limited form: If the first digit is a
377+
0, or if there are three octal digits, it is considered an octal
378+
escape. Otherwise, it is a group reference.
381379

382380

383381
\subsection{Matching vs. Searching \label{matching-searching}}

0 commit comments

Comments
 (0)