Structure

NSRegularExpression.MatchingFlags

Set by the Block as the matching progresses, completes, or fails. Used by the method enumerateMatches(in:options:range:using:).

Declaration

struct MatchingFlags

Topics

Constants

static var progress: NSRegularExpression.MatchingFlags

Set when the Block is called to report progress during a long-running match operation.

static var completed: NSRegularExpression.MatchingFlags

Set when the Block is called after matching has completed.

static var hitEnd: NSRegularExpression.MatchingFlags

Set when the current match operation reached the end of the search range.

static var requiredEnd: NSRegularExpression.MatchingFlags

Set when the current match depended on the location of the end of the search range.

static var internalError: NSRegularExpression.MatchingFlags

Set when matching failed due to an internal error.

Relationships

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software