Show / Hide Table of Contents

Enum RXMatchFlags

Flags for regexp class functions. Documented in PCRE help topic pcre2api.

[Flags]
public enum RXMatchFlags : uint
Remarks

These flags also exist in RXFlags (regexp constructor flags). You can set them either when calling constructor or when calling other functions.


Namespace: Au.Types
Assembly: Au.dll

Fields

Name Description
ANCHORED

Match only at the first position

ENDANCHORED

Pattern can match only at end of subject

NOTBOL

Subject string is not the beginning of a line

NOTEMPTY

An empty string is not a valid match

NOTEMPTY_ATSTART

An empty string at the start of the subject is not a valid match

NOTEOL

Subject string is not the end of a line

NO_UTF_CHECK

Do not check the subject for UTF validity

PARTIAL_HARD

Allow partial hard match. See RXMatch.IsPartial.

PARTIAL_SOFT

Allow partial soft match. See RXMatch.IsPartial.

Extension Methods

ExtMisc.HasAny<RXMatchFlags>(RXMatchFlags, RXMatchFlags)
ExtMisc.Has<RXMatchFlags>(RXMatchFlags, RXMatchFlags)
ExtMisc.SetFlag<RXMatchFlags>(ref RXMatchFlags, RXMatchFlags, bool)