/[pcre]/code/trunk/doc/pcrebuild.3
ViewVC logotype

Diff of /code/trunk/doc/pcrebuild.3

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

revision 128 by ph10, Tue Mar 20 11:46:50 2007 UTC revision 195 by ph10, Mon Jul 30 13:23:28 2007 UTC
# Line 83  character sequence CRLF. If you want thi Line 83  character sequence CRLF. If you want thi
83  .sp  .sp
84  to the \fBconfigure\fP command. There is a fourth option, specified by  to the \fBconfigure\fP command. There is a fourth option, specified by
85  .sp  .sp
86      --enable-newline-is-anycrlf
87    .sp
88    which causes PCRE to recognize any of the three sequences CR, LF, or CRLF as
89    indicating a line ending. Finally, a fifth option, specified by
90    .sp
91    --enable-newline-is-any    --enable-newline-is-any
92  .sp  .sp
93  which causes PCRE to recognize any Unicode newline sequence.  causes PCRE to recognize any Unicode newline sequence.
94  .P  .P
95  Whatever line ending convention is selected when PCRE is built can be  Whatever line ending convention is selected when PCRE is built can be
96  overridden when the library functions are called. At build time it is  overridden when the library functions are called. At build time it is
# Line 159  build a version of PCRE that works this Line 164  build a version of PCRE that works this
164  .sp  .sp
165  to the \fBconfigure\fP command. With this configuration, PCRE will use the  to the \fBconfigure\fP command. With this configuration, PCRE will use the
166  \fBpcre_stack_malloc\fP and \fBpcre_stack_free\fP variables to call memory  \fBpcre_stack_malloc\fP and \fBpcre_stack_free\fP variables to call memory
167  management functions. Separate functions are provided because the usage is very  management functions. By default these point to \fBmalloc()\fP and
168  predictable: the block sizes requested are always the same, and the blocks are  \fBfree()\fP, but you can replace the pointers so that your own functions are
169  always freed in reverse order. A calling program might be able to implement  used.
170  optimized functions that perform better than the standard \fBmalloc()\fP and  .P
171  \fBfree()\fP functions. PCRE runs noticeably more slowly when built in this  Separate functions are provided rather than using \fBpcre_malloc\fP and
172  way. This option affects only the \fBpcre_exec()\fP function; it is not  \fBpcre_free\fP because the usage is very predictable: the block sizes
173  relevant for the the \fBpcre_dfa_exec()\fP function.  requested are always the same, and the blocks are always freed in reverse
174    order. A calling program might be able to implement optimized functions that
175    perform better than \fBmalloc()\fP and \fBfree()\fP. PCRE runs noticeably more
176    slowly when built in this way. This option affects only the \fBpcre_exec()\fP
177    function; it is not relevant for the the \fBpcre_dfa_exec()\fP function.
178  .  .
179  .SH "LIMITING PCRE RESOURCE USAGE"  .SH "LIMITING PCRE RESOURCE USAGE"
180  .rs  .rs
# Line 220  hand".) Line 229  hand".)
229  .rs  .rs
230  .sp  .sp
231  PCRE assumes by default that it will run in an environment where the character  PCRE assumes by default that it will run in an environment where the character
232  code is ASCII (or Unicode, which is a superset of ASCII). PCRE can, however, be  code is ASCII (or Unicode, which is a superset of ASCII). This is the case for
233  compiled to run in an EBCDIC environment by adding  most computer operating systems. PCRE can, however, be compiled to run in an
234    EBCDIC environment by adding
235  .sp  .sp
236    --enable-ebcdic    --enable-ebcdic
237  .sp  .sp
238  to the \fBconfigure\fP command. This setting implies  to the \fBconfigure\fP command. This setting implies
239  --enable-rebuild-chartables.  --enable-rebuild-chartables. You should only use it if you know that you are in
240    an EBCDIC environment (for example, an IBM mainframe operating system).
241  .  .
242  .  .
243  .SH "SEE ALSO"  .SH "SEE ALSO"
# Line 249  Cambridge CB2 3QH, England. Line 260  Cambridge CB2 3QH, England.
260  .rs  .rs
261  .sp  .sp
262  .nf  .nf
263  Last updated: 20 March 2007  Last updated: 30 July 2007
264  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2007 University of Cambridge.
265  .fi  .fi

Legend:
Removed from v.128  
changed lines
  Added in v.195

  ViewVC Help
Powered by ViewVC 1.1.5