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

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

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

revision 1488 by ph10, Fri Jun 14 09:09:28 2013 UTC revision 1489 by chpe, Thu Jun 19 07:51:33 2014 UTC
# Line 1  Line 1 
1  .TH PCRE_FULLINFO 3 "24 June 2012" "PCRE 8.30"  .TH PCRE_FULLINFO 3 "21 April 2014" "PCRE 8.36"
2  .SH NAME  .SH NAME
3  PCRE - Perl-compatible regular expressions  PCRE - Perl-compatible regular expressions
4  .SH SYNOPSIS  .SH SYNOPSIS
# Line 43  The following information is available: Line 43  The following information is available:
43    PCRE_INFO_JITSIZE         Size of JIT compiled code    PCRE_INFO_JITSIZE         Size of JIT compiled code
44    PCRE_INFO_LASTLITERAL     Literal last data unit required    PCRE_INFO_LASTLITERAL     Literal last data unit required
45    PCRE_INFO_MINLENGTH       Lower bound length of matching strings    PCRE_INFO_MINLENGTH       Lower bound length of matching strings
46      PCRE_INFO_MATCHEMPTY      Return 1 if the pattern can match an empty string,
47                                   0 otherwise
48      PCRE_INFO_MATCHLIMIT      Match limit if set, otherwise PCRE_RROR_UNSET
49      PCRE_INFO_MAXLOOKBEHIND   Length (in characters) of the longest lookbehind assertion
50    PCRE_INFO_NAMECOUNT       Number of named subpatterns    PCRE_INFO_NAMECOUNT       Number of named subpatterns
51    PCRE_INFO_NAMEENTRYSIZE   Size of name table entry    PCRE_INFO_NAMEENTRYSIZE   Size of name table entry
52    PCRE_INFO_NAMETABLE       Pointer to name table    PCRE_INFO_NAMETABLE       Pointer to name table
# Line 58  The following information is available: Line 62  The following information is available:
62                                    2 if the first character is at the start of the data                                    2 if the first character is at the start of the data
63                                      string or after a newline, and                                      string or after a newline, and
64                                    0 otherwise                                    0 otherwise
65      PCRE_INFO_RECURSIONLIMIT    Recursion limit if set, otherwise PCRE_ERROR_UNSET
66    PCRE_INFO_REQUIREDCHAR      Literal last data unit required    PCRE_INFO_REQUIREDCHAR      Literal last data unit required
67    PCRE_INFO_REQUIREDCHARFLAGS Returns 1 if the last data character is set (which can then    PCRE_INFO_REQUIREDCHARFLAGS Returns 1 if the last data character is set (which can then
68                                be retrieved using PCRE_INFO_REQUIREDCHAR); 0 otherwise                                be retrieved using PCRE_INFO_REQUIREDCHAR); 0 otherwise
# Line 65  The following information is available: Line 70  The following information is available:
70  The \fIwhere\fP argument must point to an integer variable, except for the  The \fIwhere\fP argument must point to an integer variable, except for the
71  following \fIwhat\fP values:  following \fIwhat\fP values:
72  .sp  .sp
73    PCRE_INFO_DEFAULT_TABLES  const unsigned char *    PCRE_INFO_DEFAULT_TABLES  const uint8_t *
74    PCRE_INFO_FIRSTTABLE      const unsigned char *    PCRE_INFO_FIRSTCHARACTER  uint32_t
75      PCRE_INFO_FIRSTTABLE      const uint8_t *
76      PCRE_INFO_JITSIZE         size_t
77      PCRE_INFO_MATCHLIMIT      uint32_t
78    PCRE_INFO_NAMETABLE       PCRE_SPTR16           (16-bit library)    PCRE_INFO_NAMETABLE       PCRE_SPTR16           (16-bit library)
79    PCRE_INFO_NAMETABLE       PCRE_SPTR32           (32-bit library)    PCRE_INFO_NAMETABLE       PCRE_SPTR32           (32-bit library)
80    PCRE_INFO_NAMETABLE       const unsigned char * (8-bit library)    PCRE_INFO_NAMETABLE       const unsigned char * (8-bit library)
81    PCRE_INFO_OPTIONS         unsigned long int    PCRE_INFO_OPTIONS         unsigned long int
82    PCRE_INFO_SIZE            size_t    PCRE_INFO_SIZE            size_t
83    PCRE_INFO_FIRSTCHARACTER  uint32_t    PCRE_INFO_STUDYSIZE       size_t
84      PCRE_INFO_RECURSIONLIMIT  uint32_t
85    PCRE_INFO_REQUIREDCHAR    uint32_t    PCRE_INFO_REQUIREDCHAR    uint32_t
86  .sp  .sp
87  The yield of the function is zero on success or:  The yield of the function is zero on success or:
# Line 81  The yield of the function is zero on suc Line 90  The yield of the function is zero on suc
90                              the argument \fIwhere\fP was NULL                              the argument \fIwhere\fP was NULL
91    PCRE_ERROR_BADMAGIC       the "magic number" was not found    PCRE_ERROR_BADMAGIC       the "magic number" was not found
92    PCRE_ERROR_BADOPTION      the value of \fIwhat\fP was invalid    PCRE_ERROR_BADOPTION      the value of \fIwhat\fP was invalid
93      PCRE_ERROR_UNSET          the option was not set
94  .P  .P
95  There is a complete description of the PCRE native API in the  There is a complete description of the PCRE native API in the
96  .\" HREF  .\" HREF

Legend:
Removed from v.1488  
changed lines
  Added in v.1489

  ViewVC Help
Powered by ViewVC 1.1.5