diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-02-26 14:07:57 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-02-26 14:07:57 -0300 |
| commit | bbf1b3060a1aa4e5ec3235a560d3d054457e957d (patch) | |
| tree | d11298d85982864651660c7146f400165987be01 | |
| parent | 8b7f271ea2045ec698f994c1f141a38c6eb71a9f (diff) | |
| download | lua-bbf1b3060a1aa4e5ec3235a560d3d054457e957d.tar.gz lua-bbf1b3060a1aa4e5ec3235a560d3d054457e957d.tar.bz2 lua-bbf1b3060a1aa4e5ec3235a560d3d054457e957d.zip | |
small correction.
| -rw-r--r-- | manual.tex | 10 |
1 files changed, 6 insertions, 4 deletions
| @@ -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 | |||
| 1718 | does not belong to the class, or end of file; | 1718 | does not belong to the class, or end of file; |
| 1719 | since it can match a sequence of zero characteres, it never fails.% | 1719 | since it can match a sequence of zero characteres, it never fails.% |
| 1720 | \footnote{ | 1720 | \footnote{ |
| 1721 | Notice that this behaviour is different from regular pattern matching, | 1721 | Notice that the behavior of read patterns is different from |
| 1722 | the regular pattern matching behavior, | ||
| 1722 | where a \verb'*' expands to the maximum length {\em such that\/} | 1723 | where a \verb'*' expands to the maximum length {\em such that\/} |
| 1723 | the rest of the pattern does not fail. | 1724 | the rest of the pattern does not fail. |
| 1724 | Therefore, there is no need for backtracking the reading. | 1725 | With the read pattern behavior |
| 1726 | there is no need for backtracking the reading. | ||
| 1725 | } | 1727 | } |
| 1726 | 1728 | ||
| 1727 | A pattern item may contain sub-patterns enclosed in curly brackets, | 1729 | A pattern item may contain sub-patterns enclosed in curly brackets, |
