aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-02-26 14:07:57 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-02-26 14:07:57 -0300
commitbbf1b3060a1aa4e5ec3235a560d3d054457e957d (patch)
treed11298d85982864651660c7146f400165987be01
parent8b7f271ea2045ec698f994c1f141a38c6eb71a9f (diff)
downloadlua-bbf1b3060a1aa4e5ec3235a560d3d054457e957d.tar.gz
lua-bbf1b3060a1aa4e5ec3235a560d3d054457e957d.tar.bz2
lua-bbf1b3060a1aa4e5ec3235a560d3d054457e957d.zip
small correction.
-rw-r--r--manual.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/manual.tex b/manual.tex
index 6e02a917..6e3779d7 100644
--- a/manual.tex
+++ b/manual.tex
@@ -1,4 +1,4 @@
1% $Id: manual.tex,v 1.26 1997/01/23 16:17:53 roberto Exp roberto $ 1% $Id: manual.tex,v 1.27 1997/02/21 15:19:37 roberto Exp roberto $
2 2
3\documentstyle[fullpage,11pt,bnf]{article} 3\documentstyle[fullpage,11pt,bnf]{article}
4 4
@@ -35,7 +35,7 @@ Waldemar Celes
35\tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio 35\tecgraf\ --- Departamento de Inform\'atica --- PUC-Rio
36} 36}
37 37
38\date{\small \verb$Date: 1997/01/23 16:17:53 $} 38\date{\small \verb$Date: 1997/02/21 15:19:37 $}
39 39
40\maketitle 40\maketitle
41 41
@@ -1718,10 +1718,12 @@ A character class followed by \verb'*' reads until a character that
1718does not belong to the class, or end of file; 1718does not belong to the class, or end of file;
1719since it can match a sequence of zero characteres, it never fails.% 1719since it can match a sequence of zero characteres, it never fails.%
1720\footnote{ 1720\footnote{
1721Notice that this behaviour is different from regular pattern matching, 1721Notice that the behavior of read patterns is different from
1722the regular pattern matching behavior,
1722where a \verb'*' expands to the maximum length {\em such that\/} 1723where a \verb'*' expands to the maximum length {\em such that\/}
1723the rest of the pattern does not fail. 1724the rest of the pattern does not fail.
1724Therefore, there is no need for backtracking the reading. 1725With the read pattern behavior
1726there is no need for backtracking the reading.
1725} 1727}
1726 1728
1727A pattern item may contain sub-patterns enclosed in curly brackets, 1729A pattern item may contain sub-patterns enclosed in curly brackets,