/[pcre]/code/trunk/doc/html/pcre_fullinfo.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcre_fullinfo.html

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

revision 74 by nigel, Sat Feb 24 21:40:03 2007 UTC revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC
# Line 3  Line 3 
3  <title>pcre_fullinfo specification</title>  <title>pcre_fullinfo specification</title>
4  </head>  </head>
5  <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">  <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6  This HTML document has been generated automatically from the original man page.  <h1>pcre_fullinfo man page</h1>
7  If there is any nonsense in it, please consult the man page, in case the  <p>
8  conversion went wrong.<br>  Return to the <a href="index.html">PCRE index page</a>.
9    </p>
10    <p>
11    This page is part of the PCRE HTML documentation. It was generated automatically
12    from the original man page. If there is any nonsense in it, please consult the
13    man page, in case the conversion went wrong.
14    <br>
15  <br><b>  <br><b>
16  SYNOPSIS  SYNOPSIS
17  </b><br>  </b><br>
# Line 21  DESCRIPTION Line 27  DESCRIPTION
27  </b><br>  </b><br>
28  <P>  <P>
29  This function returns information about a compiled pattern. Its arguments are:  This function returns information about a compiled pattern. Its arguments are:
 </P>  
 <P>  
30  <pre>  <pre>
31    <i>code</i>    Compiled regular expression    <i>code</i>                      Compiled regular expression
32    <i>extra</i>   Result of <b>pcre_study()</b> or NULL    <i>extra</i>                     Result of <b>pcre_study()</b> or NULL
33    <i>what</i>    What information is required    <i>what</i>                      What information is required
34    <i>where</i>   Where to put the information    <i>where</i>                     Where to put the information
35  </PRE>  </pre>
 </P>  
 <P>  
36  The following information is available:  The following information is available:
 </P>  
 <P>  
37  <pre>  <pre>
38    PCRE_INFO_BACKREFMAX     Number of highest back reference    PCRE_INFO_BACKREFMAX      Number of highest back reference
39    PCRE_INFO_CAPTURECOUNT   Number of capturing subpatterns    PCRE_INFO_CAPTURECOUNT    Number of capturing subpatterns
40    PCRE_INFO_FIRSTBYTE      Fixed first byte for a match, or    PCRE_INFO_DEFAULT_TABLES  Pointer to default tables
41                               -1 for start of string    PCRE_INFO_FIRSTBYTE       Fixed first byte for a match, or
42                                  or after newline, or                                -1 for start of string
43                               -2 otherwise                                   or after newline, or
44    PCRE_INFO_FIRSTTABLE     Table of first bytes                                -2 otherwise
45                               (after studying)    PCRE_INFO_FIRSTTABLE      Table of first bytes
46    PCRE_INFO_LASTLITERAL    Literal last byte required                                (after studying)
47    PCRE_INFO_NAMECOUNT      Number of named subpatterns    PCRE_INFO_LASTLITERAL     Literal last byte required
48    PCRE_INFO_NAMEENTRYSIZE  Size of name table entry    PCRE_INFO_NAMECOUNT       Number of named subpatterns
49    PCRE_INFO_NAMETABLE      Pointer to name table    PCRE_INFO_NAMEENTRYSIZE   Size of name table entry
50    PCRE_INFO_OPTIONS        Options used for compilation    PCRE_INFO_NAMETABLE       Pointer to name table
51    PCRE_INFO_SIZE           Size of compiled pattern    PCRE_INFO_OPTIONS         Options used for compilation
52  </PRE>    PCRE_INFO_SIZE            Size of compiled pattern
53  </P>    PCRE_INFO_STUDYSIZE       Size of study data
54  <P>  </pre>
55  The yield of the function is zero on success or:  The yield of the function is zero on success or:
 </P>  
 <P>  
56  <pre>  <pre>
57    PCRE_ERROR_NULL       the argument <i>code</i> was NULL    PCRE_ERROR_NULL           the argument <i>code</i> was NULL
58                          the argument <i>where</i> was NULL                              the argument <i>where</i> was NULL
59    PCRE_ERROR_BADMAGIC   the "magic number" was not found    PCRE_ERROR_BADMAGIC       the "magic number" was not found
60    PCRE_ERROR_BADOPTION  the value of <i>what</i> was invalid    PCRE_ERROR_BADOPTION      the value of <i>what</i> was invalid
61  </PRE>  </PRE>
62  </P>  </P>
63  <P>  <P>
64  There is a complete description of the PCRE API in the  There is a complete description of the PCRE native API in the
65  <a href="pcreapi.html"><b>pcreapi</b></a>  <a href="pcreapi.html"><b>pcreapi</b></a>
66    page and a description of the POSIX API in the
67    <a href="pcreposix.html"><b>pcreposix</b></a>
68  page.  page.
69    <p>
70    Return to the <a href="index.html">PCRE index page</a>.
71    </p>

Legend:
Removed from v.74  
changed lines
  Added in v.75

  ViewVC Help
Powered by ViewVC 1.1.5