ViewVC logotype

Contents of /code/trunk/doc/pcre_get_stringtable_entries.3

Parent Directory Parent Directory | Revision Log Revision Log

Revision 99 - (show annotations)
Tue Mar 6 12:27:42 2007 UTC (14 years, 7 months ago) by ph10
File size: 1144 byte(s)
1. Move the comment about version numbers from pcre.h.in to configure.ac 
because that's where they are now set.
2. Update all the man pages to remove the use of .br and .in because this
causes trouble for some HTML converters. Also standardised the final sections 
giving author information and revision date.
3. Update the maintain/132html man page converter to handle .nf/.fi and to barf 
at .br/.in.
3 PCRE - Perl-compatible regular expressions
5 .rs
6 .sp
7 .B #include <pcre.h>
8 .PP
9 .SM
10 .B int pcre_get_stringtable_entries(const pcre *\fIcode\fP,
11 .ti +5n
12 .B const char *\fIname\fP, char **\fIfirst\fP, char **\fIlast\fP);
13 .
15 .rs
16 .sp
17 This convenience function finds, for a compiled pattern, the first and last
18 entries for a given name in the table that translates capturing parenthesis
19 names into numbers. When names are required to be unique (PCRE_DUPNAMES is
20 \fInot\fP set), it is usually easier to use \fBpcre_get_stringnumber()\fP
21 instead.
22 .sp
23 \fIcode\fP Compiled regular expression
24 \fIname\fP Name whose entries required
25 \fIfirst\fP Where to return a pointer to the first entry
26 \fIlast\fP Where to return a pointer to the last entry
27 .sp
28 The yield of the function is the length of each entry, or
29 PCRE_ERROR_NOSUBSTRING if none are found.
30 .P
31 There is a complete description of the PCRE native API, including the format of
32 the table entries, in the
33 .\" HREF
34 \fBpcreapi\fP
35 .\"
36 page, and a description of the POSIX API in the
37 .\" HREF
38 \fBpcreposix\fP
39 .\"
40 page.


Name Value
svn:eol-style native
svn:keywords "Author Date Id Revision Url"

  ViewVC Help
Powered by ViewVC 1.1.5