~ubuntu-branches/ubuntu/trusty/pcre3/trusty

« back to all changes in this revision

Viewing changes to doc/pcre_get_stringtable_entries.3

  • Committer: Package Import Robot
  • Author(s): Mark Baker
  • Date: 2012-03-23 22:34:54 UTC
  • mfrom: (23.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120323223454-grhqqolk8a7x1h24
Tags: 1:8.30-4
* Reluctantly using an epoch, as it seems the funny version number with
  extra dots causes problems
* Bumped standard version to 3.9.3. No changes needed
* Converted to use new source format / quilt
* Put back obsolete pcre_info() API that upstream have dropped (Closes:
  #665300, #665356)
* Don't include pcregrep binary in debug package

Thanks to Elimar Riesebieter for the conversion to the new source format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
.B int pcre_get_stringtable_entries(const pcre *\fIcode\fP,
11
11
.ti +5n
12
12
.B const char *\fIname\fP, char **\fIfirst\fP, char **\fIlast\fP);
 
13
.PP
 
14
.B int pcre16_get_stringtable_entries(const pcre16 *\fIcode\fP,
 
15
.ti +5n
 
16
.B PCRE_SPTR16 \fIname\fP, PCRE_UCHAR16 **\fIfirst\fP, PCRE_UCHAR16 **\fIlast\fP);
13
17
.
14
18
.SH DESCRIPTION
15
19
.rs
17
21
This convenience function finds, for a compiled pattern, the first and last
18
22
entries for a given name in the table that translates capturing parenthesis
19
23
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
 
24
\fInot\fP set), it is usually easier to use \fBpcre[16]_get_stringnumber()\fP
21
25
instead.
22
26
.sp
23
27
  \fIcode\fP    Compiled regular expression