27 |
DESCRIPTION |
DESCRIPTION |
28 |
</b><br> |
</b><br> |
29 |
<P> |
<P> |
30 |
This function compiles a regular expression into an internal form. Its |
This function compiles a regular expression into an internal form. It is the |
31 |
arguments are: |
same as <b>pcre_compile2()</b>, except for the absence of the <i>errorcodeptr</i> |
32 |
|
argument. Its arguments are: |
33 |
<pre> |
<pre> |
34 |
<i>pattern</i> A zero-terminated string containing the |
<i>pattern</i> A zero-terminated string containing the |
35 |
regular expression to be compiled |
regular expression to be compiled |
46 |
PCRE_CASELESS Do caseless matching |
PCRE_CASELESS Do caseless matching |
47 |
PCRE_DOLLAR_ENDONLY $ not to match newline at end |
PCRE_DOLLAR_ENDONLY $ not to match newline at end |
48 |
PCRE_DOTALL . matches anything including NL |
PCRE_DOTALL . matches anything including NL |
49 |
|
PCRE_DUPNAMES Allow duplicate names for subpatterns |
50 |
PCRE_EXTENDED Ignore whitespace and # comments |
PCRE_EXTENDED Ignore whitespace and # comments |
51 |
PCRE_EXTRA PCRE extra features |
PCRE_EXTRA PCRE extra features |
52 |
(not much use currently) |
(not much use currently) |
53 |
PCRE_FIRSTLINE Force matching to be before newline |
PCRE_FIRSTLINE Force matching to be before newline |
54 |
PCRE_MULTILINE ^ and $ match newlines within data |
PCRE_MULTILINE ^ and $ match newlines within data |
55 |
|
PCRE_NEWLINE_ANY Recognize any Unicode newline sequence |
56 |
|
PCRE_NEWLINE_CR Set CR as the newline sequence |
57 |
|
PCRE_NEWLINE_CRLF Set CRLF as the newline sequence |
58 |
|
PCRE_NEWLINE_LF Set LF as the newline sequence |
59 |
PCRE_NO_AUTO_CAPTURE Disable numbered capturing paren- |
PCRE_NO_AUTO_CAPTURE Disable numbered capturing paren- |
60 |
theses (named ones available) |
theses (named ones available) |
61 |
PCRE_UNGREEDY Invert greediness of quantifiers |
PCRE_UNGREEDY Invert greediness of quantifiers |