[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.129.67.244: ~ $
<html>
<head>
<title>pcre_compile2 specification</title>
</head>
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
<h1>pcre_compile2 man page</h1>
<p>
Return to the <a href="index.html">PCRE index page</a>.
</p>
<p>
This page is part of the PCRE HTML documentation. It was generated automatically
from the original man page. If there is any nonsense in it, please consult the
man page, in case the conversion went wrong.
<br>
<br><b>
SYNOPSIS
</b><br>
<P>
<b>#include &#60;pcre.h&#62;</b>
</P>
<P>
<b>pcre *pcre_compile2(const char *<i>pattern</i>, int <i>options</i>,</b>
<b>int *<i>errorcodeptr</i>,</b>
<b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
<b>const unsigned char *<i>tableptr</i>);</b>
</P>
<P>
<b>pcre16 *pcre16_compile2(PCRE_SPTR16 <i>pattern</i>, int <i>options</i>,</b>
<b>int *<i>errorcodeptr</i>,</b>
<b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
<b>const unsigned char *<i>tableptr</i>);</b>
</P>
<P>
<b>pcre32 *pcre32_compile2(PCRE_SPTR32 <i>pattern</i>, int <i>options</i>,</b>
<b>int *<i>errorcodeptr</i>,</b>
<b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
<b>const unsigned char *<i>tableptr</i>);</b>
</P>
<br><b>
DESCRIPTION
</b><br>
<P>
This function compiles a regular expression into an internal form. It is the
same as <b>pcre[16|32]_compile()</b>, except for the addition of the
<i>errorcodeptr</i> argument. The arguments are:
<pre>
  <i>pattern</i>       A zero-terminated string containing the
                  regular expression to be compiled
  <i>options</i>       Zero or more option bits
  <i>errorcodeptr</i>  Where to put an error code
  <i>errptr</i>        Where to put an error message
  <i>erroffset</i>     Offset in pattern where error was found
  <i>tableptr</i>      Pointer to character tables, or NULL to
                  use the built-in default
</pre>
The option bits are:
<pre>
  PCRE_ANCHORED           Force pattern anchoring
  PCRE_AUTO_CALLOUT       Compile automatic callouts
  PCRE_BSR_ANYCRLF        \R matches only CR, LF, or CRLF
  PCRE_BSR_UNICODE        \R matches all Unicode line endings
  PCRE_CASELESS           Do caseless matching
  PCRE_DOLLAR_ENDONLY     $ not to match newline at end
  PCRE_DOTALL             . matches anything including NL
  PCRE_DUPNAMES           Allow duplicate names for subpatterns
  PCRE_EXTENDED           Ignore white space and # comments
  PCRE_EXTRA              PCRE extra features
                            (not much use currently)
  PCRE_FIRSTLINE          Force matching to be before newline
  PCRE_JAVASCRIPT_COMPAT  JavaScript compatibility
  PCRE_MULTILINE          ^ and $ match newlines within data
  PCRE_NEWLINE_ANY        Recognize any Unicode newline sequence
  PCRE_NEWLINE_ANYCRLF    Recognize CR, LF, and CRLF as newline
                            sequences
  PCRE_NEWLINE_CR         Set CR as the newline sequence
  PCRE_NEWLINE_CRLF       Set CRLF as the newline sequence
  PCRE_NEWLINE_LF         Set LF as the newline sequence
  PCRE_NO_AUTO_CAPTURE    Disable numbered capturing paren-
                            theses (named ones available)
  PCRE_NO_UTF16_CHECK     Do not check the pattern for UTF-16
                            validity (only relevant if
                            PCRE_UTF16 is set)
  PCRE_NO_UTF32_CHECK     Do not check the pattern for UTF-32
                            validity (only relevant if
                            PCRE_UTF32 is set)
  PCRE_NO_UTF8_CHECK      Do not check the pattern for UTF-8
                            validity (only relevant if
                            PCRE_UTF8 is set)
  PCRE_UCP                Use Unicode properties for \d, \w, etc.
  PCRE_UNGREEDY           Invert greediness of quantifiers
  PCRE_UTF16              Run <b>pcre16_compile()</b> in UTF-16 mode
  PCRE_UTF32              Run <b>pcre32_compile()</b> in UTF-32 mode
  PCRE_UTF8               Run <b>pcre_compile()</b> in UTF-8 mode
</pre>
PCRE must be built with UTF support in order to use PCRE_UTF8/16/32 and
PCRE_NO_UTF8/16/32_CHECK, and with UCP support if PCRE_UCP is used.
</P>
<P>
The yield of the function is a pointer to a private data structure that
contains the compiled pattern, or NULL if an error was detected. Note that
compiling regular expressions with one version of PCRE for use with a different
version is not guaranteed to work and may cause crashes.
</P>
<P>
There is a complete description of the PCRE native API in the
<a href="pcreapi.html"><b>pcreapi</b></a>
page and a description of the POSIX API in the
<a href="pcreposix.html"><b>pcreposix</b></a>
page.
<p>
Return to the <a href="index.html">PCRE index page</a>.
</p>

Filemanager

Name Type Size Permission Actions
index.html File 7.24 KB 0644
pcre-config.html File 3.55 KB 0644
pcre.html File 9.17 KB 0644
pcre16.html File 15.57 KB 0644
pcre_assign_jit_stack.html File 2.46 KB 0644
pcre_compile.html File 4.42 KB 0644
pcre_compile2.html File 4.57 KB 0644
pcre_config.html File 3.7 KB 0644
pcre_copy_named_substring.html File 2.26 KB 0644
pcre_copy_substring.html File 2.03 KB 0644
pcre_dfa_exec.html File 5.65 KB 0644
pcre_exec.html File 4.78 KB 0644
pcre_free_study.html File 1.2 KB 0644
pcre_free_substring.html File 1.25 KB 0644
pcre_free_substring_list.html File 1.26 KB 0644
pcre_fullinfo.html File 4.48 KB 0644
pcre_get_named_substring.html File 2.36 KB 0644
pcre_get_stringnumber.html File 1.71 KB 0644
pcre_get_stringtable_entries.html File 2 KB 0644
pcre_get_substring.html File 2.16 KB 0644
pcre_get_substring_list.html File 2.13 KB 0644
pcre_jit_exec.html File 4.66 KB 0644
pcre_jit_stack_alloc.html File 1.66 KB 0644
pcre_jit_stack_free.html File 1.25 KB 0644
pcre_maketables.html File 1.36 KB 0644
pcre_pattern_to_host_byte_order.html File 1.9 KB 0644
pcre_refcount.html File 1.41 KB 0644
pcre_study.html File 2.08 KB 0644
pcre_utf16_to_host_byte_order.html File 1.98 KB 0644
pcre_version.html File 1.14 KB 0644
pcreapi.html File 125.27 KB 0644
pcrebuild.html File 21.44 KB 0644
pcrecallout.html File 9.91 KB 0644
pcrecompat.html File 8.77 KB 0644
pcrecpp.html File 14.06 KB 0644
pcredemo.html File 15.81 KB 0644
pcregrep.html File 36.86 KB 0644
pcrejit.html File 19.68 KB 0644
pcrelimits.html File 2.8 KB 0644
pcrematching.html File 10.13 KB 0644
pcrepartial.html File 21.22 KB 0644
pcrepattern.html File 125.07 KB 0644
pcreperform.html File 7.64 KB 0644
pcreposix.html File 11.87 KB 0644
pcreprecompile.html File 7.01 KB 0644
pcresample.html File 3.7 KB 0644
pcrestack.html File 9.37 KB 0644
pcresyntax.html File 15.03 KB 0644
pcretest.html File 46.98 KB 0644
pcreunicode.html File 11.47 KB 0644