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

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

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

revision 540 by ph10, Thu Jun 3 19:18:24 2010 UTC revision 541 by ph10, Mon Jun 14 15:19:33 2010 UTC
# Line 276  example, Line 276  example,
276  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,
277  \fBpcre_maketables()\fP is called to build a set of character tables for the  \fBpcre_maketables()\fP is called to build a set of character tables for the
278  locale, and this is then passed to \fBpcre_compile()\fP when compiling the  locale, and this is then passed to \fBpcre_compile()\fP when compiling the
279  regular expression. Without an \fB/L\fP modifier, NULL is passed as the tables  regular expression. Without an \fB/L\fP (or \fB/T\fP) modifier, NULL is passed
280  pointer; that is, \fB/L\fP applies only to the expression on which it appears.  as the tables pointer; that is, \fB/L\fP applies only to the expression on
281    which it appears.
282  .P  .P
283  The \fB/M\fP modifier causes the size of memory block used to hold the compiled  The \fB/M\fP modifier causes the size of memory block used to hold the compiled
284  pattern to be output.  pattern to be output.
# Line 285  pattern to be output. Line 286  pattern to be output.
286  The \fB/S\fP modifier causes \fBpcre_study()\fP to be called after the  The \fB/S\fP modifier causes \fBpcre_study()\fP to be called after the
287  expression has been compiled, and the results used when the expression is  expression has been compiled, and the results used when the expression is
288  matched.  matched.
289    .P
290    The \fB/T\fP modifier must be followed by a single digit. It causes a specific
291    set of built-in character tables to be passed to \fBpcre_compile()\fP. It is
292    used in the standard PCRE tests to check behaviour with different character
293    tables. The digit specifies the tables as follows:
294    .sp
295      0   the default ASCII tables, as distributed in
296            pcre_chartables.c.dist
297      1   a set of tables defining ISO 8859 characters
298    .sp
299    In table 1, some characters whose codes are greater than 128 are identified as
300    letters, digits, spaces, etc.
301  .  .
302  .  .
303  .SS "Using the POSIX wrapper API"  .SS "Using the POSIX wrapper API"
# Line 750  Cambridge CB2 3QH, England. Line 763  Cambridge CB2 3QH, England.
763  .rs  .rs
764  .sp  .sp
765  .nf  .nf
766  Last updated: 16 May 2010  Last updated: 14 June 2010
767  Copyright (c) 1997-2010 University of Cambridge.  Copyright (c) 1997-2010 University of Cambridge.
768  .fi  .fi

Legend:
Removed from v.540  
changed lines
  Added in v.541

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12