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

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

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

revision 231 by ph10, Tue Sep 11 11:15:33 2007 UTC revision 313 by ph10, Wed Jan 23 18:05:06 2008 UTC
# Line 167  in a Perl-compatible manner. A sample pr Line 167  in a Perl-compatible manner. A sample pr
167  way of using them is provided in the file called <i>pcredemo.c</i> in the source  way of using them is provided in the file called <i>pcredemo.c</i> in the source
168  distribution. The  distribution. The
169  <a href="pcresample.html"><b>pcresample</b></a>  <a href="pcresample.html"><b>pcresample</b></a>
170  documentation describes how to run it.  documentation describes how to compile and run it.
171  </P>  </P>
172  <P>  <P>
173  A second matching function, <b>pcre_dfa_exec()</b>, which is not  A second matching function, <b>pcre_dfa_exec()</b>, which is not
# Line 673  out of use. To avoid confusion, they hav Line 673  out of use. To avoid confusion, they hav
673     9  nothing to repeat     9  nothing to repeat
674    10  [this code is not in use]    10  [this code is not in use]
675    11  internal error: unexpected repeat    11  internal error: unexpected repeat
676    12  unrecognized character after (?    12  unrecognized character after (? or (?-
677    13  POSIX named classes are supported only within a class    13  POSIX named classes are supported only within a class
678    14  missing )    14  missing )
679    15  reference to non-existent subpattern    15  reference to non-existent subpattern
# Line 681  out of use. To avoid confusion, they hav Line 681  out of use. To avoid confusion, they hav
681    17  unknown option bit(s) set    17  unknown option bit(s) set
682    18  missing ) after comment    18  missing ) after comment
683    19  [this code is not in use]    19  [this code is not in use]
684    20  regular expression too large    20  regular expression is too large
685    21  failed to get memory    21  failed to get memory
686    22  unmatched parentheses    22  unmatched parentheses
687    23  internal error: code overflow    23  internal error: code overflow
# Line 710  out of use. To avoid confusion, they hav Line 710  out of use. To avoid confusion, they hav
710    46  malformed \P or \p sequence    46  malformed \P or \p sequence
711    47  unknown property name after \P or \p    47  unknown property name after \P or \p
712    48  subpattern name is too long (maximum 32 characters)    48  subpattern name is too long (maximum 32 characters)
713    49  too many named subpatterns (maximum 10,000)    49  too many named subpatterns (maximum 10000)
714    50  [this code is not in use]    50  [this code is not in use]
715    51  octal value is greater than \377 (not in UTF-8 mode)    51  octal value is greater than \377 (not in UTF-8 mode)
716    52  internal error: overran compiling workspace    52  internal error: overran compiling workspace
# Line 721  out of use. To avoid confusion, they hav Line 721  out of use. To avoid confusion, they hav
721    57  \g is not followed by a braced name or an optionally braced    57  \g is not followed by a braced name or an optionally braced
722          non-zero number          non-zero number
723    58  (?+ or (?- or (?(+ or (?(- must be followed by a non-zero number    58  (?+ or (?- or (?(+ or (?(- must be followed by a non-zero number
724  </PRE>    59  (*VERB) with an argument is not supported
725      60  (*VERB) not recognized
726      61  number is too big
727      62  subpattern name expected
728      63  digit expected after (?+
729    </pre>
730    The numbers 32 and 10000 in errors 48 and 49 are defaults; different values may
731    be used if the limits were changed when PCRE was built.
732  </P>  </P>
733  <br><a name="SEC9" href="#TOC1">STUDYING A PATTERN</a><br>  <br><a name="SEC9" href="#TOC1">STUDYING A PATTERN</a><br>
734  <P>  <P>
# Line 926  fourth argument should point to an un Line 933  fourth argument should point to an un
933    PCRE_INFO_HASCRORLF    PCRE_INFO_HASCRORLF
934  </pre>  </pre>
935  Return 1 if the pattern contains any explicit matches for CR or LF characters,  Return 1 if the pattern contains any explicit matches for CR or LF characters,
936  otherwise 0. The fourth argument should point to an <b>int</b> variable.  otherwise 0. The fourth argument should point to an <b>int</b> variable. An
937    explicit match is either a literal CR or LF character, or \r or \n.
938  <pre>  <pre>
939    PCRE_INFO_JCHANGED    PCRE_INFO_JCHANGED
940  </pre>  </pre>
941  Return 1 if the (?J) option setting is used in the pattern, otherwise 0. The  Return 1 if the (?J) or (?-J) option setting is used in the pattern, otherwise
942  fourth argument should point to an <b>int</b> variable. The (?J) internal option  0. The fourth argument should point to an <b>int</b> variable. (?J) and
943  setting changes the local PCRE_DUPNAMES option.  (?-J) set and unset the local PCRE_DUPNAMES option, respectively.
944  <pre>  <pre>
945    PCRE_INFO_LASTLITERAL    PCRE_INFO_LASTLITERAL
946  </pre>  </pre>
# Line 1947  Cambridge CB2 3QH, England. Line 1955  Cambridge CB2 3QH, England.
1955  </P>  </P>
1956  <br><a name="SEC22" href="#TOC1">REVISION</a><br>  <br><a name="SEC22" href="#TOC1">REVISION</a><br>
1957  <P>  <P>
1958  Last updated: 11 September 2007  Last updated: 23 January 2008
1959  <br>  <br>
1960  Copyright &copy; 1997-2007 University of Cambridge.  Copyright &copy; 1997-2008 University of Cambridge.
1961  <br>  <br>
1962  <p>  <p>
1963  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.

Legend:
Removed from v.231  
changed lines
  Added in v.313

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12