From 52920ff98f930866d6152d567ea6328308e077e7 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 16 Nov 2001 12:25:17 +0000 Subject: [PATCH] Added \ as a non-literal character (oversight). [SVN r11717] --- syntax.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/syntax.htm b/syntax.htm index e0fb61e3..dd9a3b3c 100644 --- a/syntax.htm +++ b/syntax.htm @@ -51,10 +51,10 @@ expression compilation.

All characters are literals except: ".", "*", "?", "+", "(", ")", "{", "}", "[", -"]", "^" and "$". These characters -are literals when preceded by a "\". A literal is a -character that matches itself, or matches the result of -traits_type::translate(), where traits_type is the traits +"]", "^", "$" and "\". +These characters are literals when preceded by a "\". A +literal is a character that matches itself, or matches the result +of traits_type::translate(), where traits_type is the traits template parameter to class reg_expression.