diff --git a/doc/tre-syntax.html b/doc/tre-syntax.html index 640bb17..d8334ac 100644 --- a/doc/tre-syntax.html +++ b/doc/tre-syntax.html @@ -337,7 +337,9 @@

Literals

 literal ::= ordinary-character
+        |   "\o" ["0"-"7" ]{0,3}
         |   "\x" ["1"-"9" "a"-"f" "A"-"F"]{0,2}
+        |   "\o{" ["0"-"7" ]* "}"
         |   "\x{" ["1"-"9" "a"-"f" "A"-"F"]* "}"
         |   "\" character
 
@@ -345,15 +347,15 @@

Literals

A literal is either an ordinary character (a character that has no -other significance in the context), an 8 bit hexadecimal encoded -character (e.g. \x1B), a wide hexadecimal encoded character -(e.g. \x{263a}), or an escaped character. An escaped -character is a \ followed by any character, and matches that -character. Escaping can be used to match characters which have a -special meaning in regexp syntax. A \ cannot be the last -character of an ERE. Escaping also allows you to include a few -non-printable characters in the regular expression. These special -escape sequences include: +other significance in the context), an 8 bit octal or hexadecimal +encoded character (e.g. \x1B, \o33), a wide octal +or hexadecimal encoded character (e.g. \x{263a}, \o{23072}), or an +escaped character. An escaped character is a \ followed by +any character, and matches that character. Escaping can be used to +match characters which have a special meaning in regexp syntax. +A \ cannot be the last character of an ERE. Escaping also +allows you to include a few non-printable characters in the regular +expression. These special escape sequences include: