/[pcre]/code/trunk/doc/html/pcretest.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcretest.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 544 by ph10, Thu Jun 3 19:18:24 2010 UTC revision 545 by ph10, Wed Jun 16 10:51:15 2010 UTC
# Line 318  example, Line 318  example,
318  For this reason, it must be the last modifier. The given locale is set,  For this reason, it must be the last modifier. The given locale is set,
319  <b>pcre_maketables()</b> is called to build a set of character tables for the  <b>pcre_maketables()</b> is called to build a set of character tables for the
320  locale, and this is then passed to <b>pcre_compile()</b> when compiling the  locale, and this is then passed to <b>pcre_compile()</b> when compiling the
321  regular expression. Without an <b>/L</b> modifier, NULL is passed as the tables  regular expression. Without an <b>/L</b> (or <b>/T</b>) modifier, NULL is passed
322  pointer; that is, <b>/L</b> applies only to the expression on which it appears.  as the tables pointer; that is, <b>/L</b> applies only to the expression on
323    which it appears.
324  </P>  </P>
325  <P>  <P>
326  The <b>/M</b> modifier causes the size of memory block used to hold the compiled  The <b>/M</b> modifier causes the size of memory block used to hold the compiled
# Line 330  The <b>/S</b> modifier causes <b>pcre_st Line 331  The <b>/S</b> modifier causes <b>pcre_st
331  expression has been compiled, and the results used when the expression is  expression has been compiled, and the results used when the expression is
332  matched.  matched.
333  </P>  </P>
334    <P>
335    The <b>/T</b> modifier must be followed by a single digit. It causes a specific
336    set of built-in character tables to be passed to <b>pcre_compile()</b>. It is
337    used in the standard PCRE tests to check behaviour with different character
338    tables. The digit specifies the tables as follows:
339    <pre>
340      0   the default ASCII tables, as distributed in
341            pcre_chartables.c.dist
342      1   a set of tables defining ISO 8859 characters
343    </pre>
344    In table 1, some characters whose codes are greater than 128 are identified as
345    letters, digits, spaces, etc.
346    </P>
347  <br><b>  <br><b>
348  Using the POSIX wrapper API  Using the POSIX wrapper API
349  </b><br>  </b><br>
# Line 726  Cambridge CB2 3QH, England. Line 740  Cambridge CB2 3QH, England.
740  </P>  </P>
741  <br><a name="SEC15" href="#TOC1">REVISION</a><br>  <br><a name="SEC15" href="#TOC1">REVISION</a><br>
742  <P>  <P>
743  Last updated: 16 May 2010  Last updated: 14 June 2010
744  <br>  <br>
745  Copyright &copy; 1997-2010 University of Cambridge.  Copyright &copy; 1997-2010 University of Cambridge.
746  <br>  <br>

Legend:
Removed from v.544  
changed lines
  Added in v.545

  ViewVC Help
Powered by ViewVC 1.1.5