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

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

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

revision 855 by ph10, Fri Jan 6 15:08:49 2012 UTC revision 856 by ph10, Sat Jan 7 17:02:55 2012 UTC
# Line 1  Line 1 
1  .TH PCRE 3  .TH PCRE 3
2  .SH NAME  .SH NAME
3  PCRE - Perl-compatible regular expressions  PCRE - Perl-compatible regular expressions
4    .sp
5    .B #include <pcre.h>
6    .
7    .
8  .SH "PCRE 16-BIT API BASIC FUNCTIONS"  .SH "PCRE 16-BIT API BASIC FUNCTIONS"
9  .rs  .rs
10  .sp  .sp
 .B #include <pcre16.h>  
 .PP  
11  .SM  .SM
12  .B pcre16 *pcre16_compile(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP,  .B pcre16 *pcre16_compile(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP,
13  .ti +5n  .ti +5n
# Line 32  PCRE - Perl-compatible regular expressio Line 34  PCRE - Perl-compatible regular expressio
34  .B "PCRE_SPTR16 \fIsubject\fP," int \fIlength\fP, int \fIstartoffset\fP,  .B "PCRE_SPTR16 \fIsubject\fP," int \fIlength\fP, int \fIstartoffset\fP,
35  .ti +5n  .ti +5n
36  .B int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP);  .B int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP);
 .  
 .  
 .SH "PCRE 16-BIT API AUXILIARY FUNCTIONS"  
 .rs  
 .sp  
 .B pcre16_jit_stack *pcre16_jit_stack_alloc(int \fIstartsize\fP, int \fImaxsize\fP);  
 .PP  
 .B void pcre16_jit_stack_free(pcre16_jit_stack *\fIstack\fP);  
 .PP  
 .B void pcre16_assign_jit_stack(pcre16_extra *\fIextra\fP,  
 .ti +5n  
 .B pcre16_jit_callback \fIcallback\fP, void *\fIdata\fP);  
37  .PP  .PP
38  .B int pcre16_dfa_exec(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"  .B int pcre16_dfa_exec(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"
39  .ti +5n  .ti +5n
# Line 52  PCRE - Perl-compatible regular expressio Line 42  PCRE - Perl-compatible regular expressio
42  .B int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP,  .B int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP,
43  .ti +5n  .ti +5n
44  .B int *\fIworkspace\fP, int \fIwscount\fP);  .B int *\fIworkspace\fP, int \fIwscount\fP);
45  .PP  .
46    .
47    .SH "PCRE 16-BIT API STRING EXTRACTION FUNCTIONS"
48    .rs
49    .sp
50  .B int pcre16_copy_named_substring(const pcre16 *\fIcode\fP,  .B int pcre16_copy_named_substring(const pcre16 *\fIcode\fP,
51  .ti +5n  .ti +5n
52  .B PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,  .B PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,
# Line 96  PCRE - Perl-compatible regular expressio Line 90  PCRE - Perl-compatible regular expressio
90  .B void pcre16_free_substring(PCRE_SPTR16 \fIstringptr\fP);  .B void pcre16_free_substring(PCRE_SPTR16 \fIstringptr\fP);
91  .PP  .PP
92  .B void pcre16_free_substring_list(PCRE_SPTR16 *\fIstringptr\fP);  .B void pcre16_free_substring_list(PCRE_SPTR16 *\fIstringptr\fP);
93    .
94    .
95    .SH "PCRE 16-BIT API AUXILIARY FUNCTIONS"
96    .rs
97    .sp
98    .B pcre16_jit_stack *pcre16_jit_stack_alloc(int \fIstartsize\fP, int \fImaxsize\fP);
99    .PP
100    .B void pcre16_jit_stack_free(pcre16_jit_stack *\fIstack\fP);
101    .PP
102    .B void pcre16_assign_jit_stack(pcre16_extra *\fIextra\fP,
103    .ti +5n
104    .B pcre16_jit_callback \fIcallback\fP, void *\fIdata\fP);
105  .PP  .PP
106  .B const unsigned char *pcre16_maketables(void);  .B const unsigned char *pcre16_maketables(void);
107  .PP  .PP
# Line 108  PCRE - Perl-compatible regular expressio Line 114  PCRE - Perl-compatible regular expressio
114  .B int pcre16_config(int \fIwhat\fP, void *\fIwhere\fP);  .B int pcre16_config(int \fIwhat\fP, void *\fIwhere\fP);
115  .PP  .PP
116  .B const char *pcre16_version(void);  .B const char *pcre16_version(void);
117    .PP
118    .B int pcre16_pattern_to_host_byte_order(pcre16 *\fIcode\fP,
119    .ti +5n
120    .B pcre16_extra *\fIextra\fP, const unsigned char *\fItables\fP);
121  .  .
122  .  .
123  .SH "PCRE 16-BIT API INDIRECTED FUNCTIONS"  .SH "PCRE 16-BIT API INDIRECTED FUNCTIONS"
# Line 209  that converts a UTF-16 character string Line 219  that converts a UTF-16 character string
219  other 16-bit functions expect the strings they are passed to be in host byte  other 16-bit functions expect the strings they are passed to be in host byte
220  order.  order.
221  .P  .P
222  The \fIlength\fP argument specifies the number of 16-bit data units in the  The \fIlength\fP argument of \fBpcre16_utf16_to_host_byte_order()\fP specifies
223  input string; a negative value specifies a zero-terminated string.  the number of 16-bit data units in the input string; a negative value specifies
224    a zero-terminated string.
225  .P  .P
226  If \fIbyte_order\fP is NULL, it is assumed that the string starts off in host  If \fIbyte_order\fP is NULL, it is assumed that the string starts off in host
227  byte order. This may be changed by byte-order marks (BOMs) anywhere in the  byte order. This may be changed by byte-order marks (BOMs) anywhere in the
# Line 359  Cambridge CB2 3QH, England. Line 370  Cambridge CB2 3QH, England.
370  .rs  .rs
371  .sp  .sp
372  .nf  .nf
373  Last updated: 06 January 2012  Last updated: 07 January 2012
374  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
375  .fi  .fi

Legend:
Removed from v.855  
changed lines
  Added in v.856

  ViewVC Help
Powered by ViewVC 1.1.5