| 45 |
</pre> |
</pre> |
| 46 |
The option bits are: |
The option bits are: |
| 47 |
<pre> |
<pre> |
| 48 |
PCRE_ANCHORED Force pattern anchoring |
PCRE_ANCHORED Force pattern anchoring |
| 49 |
PCRE_AUTO_CALLOUT Compile automatic callouts |
PCRE_AUTO_CALLOUT Compile automatic callouts |
| 50 |
PCRE_CASELESS Do caseless matching |
PCRE_BSR_ANYCRLF \R matches only CR, LF, or CRLF |
| 51 |
PCRE_DOLLAR_ENDONLY $ not to match newline at end |
PCRE_BSR_UNICODE \R matches all Unicode line endings |
| 52 |
PCRE_DOTALL . matches anything including NL |
PCRE_CASELESS Do caseless matching |
| 53 |
PCRE_DUPNAMES Allow duplicate names for subpatterns |
PCRE_DOLLAR_ENDONLY $ not to match newline at end |
| 54 |
PCRE_EXTENDED Ignore whitespace and # comments |
PCRE_DOTALL . matches anything including NL |
| 55 |
PCRE_EXTRA PCRE extra features |
PCRE_DUPNAMES Allow duplicate names for subpatterns |
| 56 |
(not much use currently) |
PCRE_EXTENDED Ignore whitespace and # comments |
| 57 |
PCRE_FIRSTLINE Force matching to be before newline |
PCRE_EXTRA PCRE extra features |
| 58 |
PCRE_MULTILINE ^ and $ match newlines within data |
(not much use currently) |
| 59 |
PCRE_NEWLINE_ANY Recognize any Unicode newline sequence |
PCRE_FIRSTLINE Force matching to be before newline |
| 60 |
PCRE_NEWLINE_ANYCRLF Recognize CR, LF, and CRLF as newline sequences |
PCRE_JAVASCRIPT_COMPAT JavaScript compatibility |
| 61 |
PCRE_NEWLINE_CR Set CR as the newline sequence |
PCRE_MULTILINE ^ and $ match newlines within data |
| 62 |
PCRE_NEWLINE_CRLF Set CRLF as the newline sequence |
PCRE_NEWLINE_ANY Recognize any Unicode newline sequence |
| 63 |
PCRE_NEWLINE_LF Set LF as the newline sequence |
PCRE_NEWLINE_ANYCRLF Recognize CR, LF, and CRLF as newline |
| 64 |
PCRE_NO_AUTO_CAPTURE Disable numbered capturing paren- |
sequences |
| 65 |
theses (named ones available) |
PCRE_NEWLINE_CR Set CR as the newline sequence |
| 66 |
PCRE_UNGREEDY Invert greediness of quantifiers |
PCRE_NEWLINE_CRLF Set CRLF as the newline sequence |
| 67 |
PCRE_UTF8 Run in UTF-8 mode |
PCRE_NEWLINE_LF Set LF as the newline sequence |
| 68 |
PCRE_NO_UTF8_CHECK Do not check the pattern for UTF-8 |
PCRE_NO_AUTO_CAPTURE Disable numbered capturing paren- |
| 69 |
validity (only relevant if |
theses (named ones available) |
| 70 |
PCRE_UTF8 is set) |
PCRE_NO_UTF8_CHECK Do not check the pattern for UTF-8 |
| 71 |
|
validity (only relevant if |
| 72 |
|
PCRE_UTF8 is set) |
| 73 |
|
PCRE_UNGREEDY Invert greediness of quantifiers |
| 74 |
|
PCRE_UTF8 Run in UTF-8 mode |
| 75 |
</pre> |
</pre> |
| 76 |
PCRE must be built with UTF-8 support in order to use PCRE_UTF8 and |
PCRE must be built with UTF-8 support in order to use PCRE_UTF8 and |
| 77 |
PCRE_NO_UTF8_CHECK. |
PCRE_NO_UTF8_CHECK. |