small correction.

This commit is contained in:
Roberto Ierusalimschy
1997-02-26 14:07:57 -03:00
parent 8b7f271ea2
commit bbf1b3060a

View File

@@ -1,4 +1,4 @@
% $Id: manual.tex,v 1.26 1997/01/23 16:17:53 roberto Exp roberto $ % $Id: manual.tex,v 1.27 1997/02/21 15:19:37 roberto Exp roberto $
\documentstyle[fullpage,11pt,bnf]{article} \documentstyle[fullpage,11pt,bnf]{article}
@@ -35,7 +35,7 @@ Waldemar Celes
\tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio \tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio
} }
\date{\small \verb$Date: 1997/01/23 16:17:53 $} \date{\small \verb$Date: 1997/02/21 15:19:37 $}
\maketitle \maketitle
@@ -1718,10 +1718,12 @@ A character class followed by \verb'*' reads until a character that
does not belong to the class, or end of file; does not belong to the class, or end of file;
since it can match a sequence of zero characteres, it never fails.% since it can match a sequence of zero characteres, it never fails.%
\footnote{ \footnote{
Notice that this behaviour is different from regular pattern matching, Notice that the behavior of read patterns is different from
the regular pattern matching behavior,
where a \verb'*' expands to the maximum length {\em such that\/} where a \verb'*' expands to the maximum length {\em such that\/}
the rest of the pattern does not fail. the rest of the pattern does not fail.
Therefore, there is no need for backtracking the reading. With the read pattern behavior
there is no need for backtracking the reading.
} }
A pattern item may contain sub-patterns enclosed in curly brackets, A pattern item may contain sub-patterns enclosed in curly brackets,