Compile options.
| Enumerator |
|---|
| None | No options set (default).
|
| Anchored | Force pattern anchoring.
|
| AllowEmptyClass | Allow empty classes.
|
| AltBSUX | Alternative handling of \u, \U, and \x.
|
| AltCircumflex | Alternative handling of ^ in multiline mode.
|
| AltVerbNames | Process backslashes in verb names.
|
| AutoCallout | Compile automatic callouts.
|
| Caseless | Do caseless matching.
|
| DollarEndonly | $ not to match newline at end
|
| DotAll | . matches anything including NL
|
| DupNames | Allow duplicate names for subpatterns.
|
| EndAnchored | Pattern can match only at end of subject.
|
| Extended | Ignore white space and # comments.
|
| FirstLine | Force matching to be before newline.
|
| Literal | Pattern characters are all literal.
|
| MatchInvalidUTF | Enable support for matching invalid UTF.
|
| MatchUnsetBackRef | Match unset backreferences.
|
| Multiline | ^ and $ match newlines within data
|
| NeverBackslashC | Lock out the use of \C in patterns.
|
| NeverUCP | Lock out PCRE2_UCP, e.g.via(*UCP).
|
| NeverUTF | Lock out PCRE2_UTF, e.g.via(*UTF).
|
| NoAutoCapture | Disable numbered capturing paren - theses(named ones available).
|
| NoAutoPossess | Disable auto - possessification.
|
| NoDotStarAnchor | Disable automatic anchoring for .*.
|
| NoStartOptimize | Disable match - time start optimizations.
|
| NoUTFCheck | Do not check the pattern for UTF validity (only relevant if PCRE2_UTF is set).
|
| UCP | Use Unicode properties for \d, \w, etc.
|
| UnGreedy | Invert greediness of quantifiers.
|
| UseOffsetLimit | Enable offset limit for unanchored matching.
|
| UTF | Treat pattern and subjects as UTF strings.
|