/[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 1193 by ph10, Sat Jan 21 16:37:17 2012 UTC revision 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC
# Line 26  SYNOPSIS Line 26  SYNOPSIS
26  <b>int pcre16_fullinfo(const pcre16 *<i>code</i>, const pcre16_extra *<i>extra</i>,</b>  <b>int pcre16_fullinfo(const pcre16 *<i>code</i>, const pcre16_extra *<i>extra</i>,</b>
27  <b>int <i>what</i>, void *<i>where</i>);</b>  <b>int <i>what</i>, void *<i>where</i>);</b>
28  </P>  </P>
29    <P>
30    <b>int pcre32_fullinfo(const pcre32 *<i>code</i>, const pcre32_extra *<i>extra</i>,</b>
31    <b>int <i>what</i>, void *<i>where</i>);</b>
32    </P>
33  <br><b>  <br><b>
34  DESCRIPTION  DESCRIPTION
35  </b><br>  </b><br>
# Line 33  DESCRIPTION Line 37  DESCRIPTION
37  This function returns information about a compiled pattern. Its arguments are:  This function returns information about a compiled pattern. Its arguments are:
38  <pre>  <pre>
39    <i>code</i>                      Compiled regular expression    <i>code</i>                      Compiled regular expression
40    <i>extra</i>                     Result of <b>pcre[16]_study()</b> or NULL    <i>extra</i>                     Result of <b>pcre[16|32]_study()</b> or NULL
41    <i>what</i>                      What information is required    <i>what</i>                      What information is required
42    <i>where</i>                     Where to put the information    <i>where</i>                     Where to put the information
43  </pre>  </pre>
# Line 61  The following information is available: Line 65  The following information is available:
65    PCRE_INFO_OPTIONS         Option bits used for compilation    PCRE_INFO_OPTIONS         Option bits used for compilation
66    PCRE_INFO_SIZE            Size of compiled pattern    PCRE_INFO_SIZE            Size of compiled pattern
67    PCRE_INFO_STUDYSIZE       Size of study data    PCRE_INFO_STUDYSIZE       Size of study data
68      PCRE_INFO_FIRSTCHARACTER      Fixed first data unit for a match
69      PCRE_INFO_FIRSTCHARACTERFLAGS Returns
70                                      1 if there is a first data character set, which can
71                                        then be retrieved using PCRE_INFO_FIRSTCHARACTER,
72                                      2 if the first character is at the start of the data
73                                        string or after a newline, and
74                                      0 otherwise
75      PCRE_INFO_REQUIREDCHAR      Literal last data unit required
76      PCRE_INFO_REQUIREDCHARFLAGS Returns 1 if the last data character is set (which can then
77                                  be retrieved using PCRE_INFO_REQUIREDCHAR); 0 otherwise
78  </pre>  </pre>
79  The <i>where</i> argument must point to an integer variable, except for the  The <i>where</i> argument must point to an integer variable, except for the
80  following <i>what</i> values:  following <i>what</i> values:
# Line 68  following <i>what</i> values: Line 82  following <i>what</i> values:
82    PCRE_INFO_DEFAULT_TABLES  const unsigned char *    PCRE_INFO_DEFAULT_TABLES  const unsigned char *
83    PCRE_INFO_FIRSTTABLE      const unsigned char *    PCRE_INFO_FIRSTTABLE      const unsigned char *
84    PCRE_INFO_NAMETABLE       PCRE_SPTR16           (16-bit library)    PCRE_INFO_NAMETABLE       PCRE_SPTR16           (16-bit library)
85      PCRE_INFO_NAMETABLE       PCRE_SPTR32           (32-bit library)
86    PCRE_INFO_NAMETABLE       const unsigned char * (8-bit library)    PCRE_INFO_NAMETABLE       const unsigned char * (8-bit library)
87    PCRE_INFO_OPTIONS         unsigned long int    PCRE_INFO_OPTIONS         unsigned long int
88    PCRE_INFO_SIZE            size_t    PCRE_INFO_SIZE            size_t
89      PCRE_INFO_FIRSTCHARACTER  uint32_t
90      PCRE_INFO_REQUIREDCHAR    uint32_t
91  </pre>  </pre>
92  The yield of the function is zero on success or:  The yield of the function is zero on success or:
93  <pre>  <pre>

Legend:
Removed from v.1193  
changed lines
  Added in v.1194

  ViewVC Help
Powered by ViewVC 1.1.5