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

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

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

revision 77 by nigel, Sat Feb 24 21:40:45 2007 UTC revision 79 by nigel, Sat Feb 24 21:40:52 2007 UTC
# Line 1  Line 1 
1  .TH PCRE 3  .TH PCREAPI 3
2  .SH NAME  .SH NAME
3  PCRE - Perl-compatible regular expressions  PCRE - Perl-compatible regular expressions
4  .SH "PCRE NATIVE API"  .SH "PCRE NATIVE API"
# Line 1416  provided. Line 1416  provided.
1416  To extract a substring by name, you first have to find associated number.  To extract a substring by name, you first have to find associated number.
1417  For example, for this pattern  For example, for this pattern
1418  .sp  .sp
1419    (a+)b(?<xxx>\ed+)...    (a+)b(?P<xxx>\ed+)...
1420  .sp  .sp
1421  the number of the subpattern called "xxx" is 2. You can find the number from  the number of the subpattern called "xxx" is 2. You can find the number from
1422  the name by calling \fBpcre_get_stringnumber()\fP. The first argument is the  the name by calling \fBpcre_get_stringnumber()\fP. The first argument is the

Legend:
Removed from v.77  
changed lines
  Added in v.79

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12