Set by the Block as the matching progresses, completes, or fails. Used by the method enumerate
.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
struct MatchingFlags
Set by the Block as the matching progresses, completes, or fails. Used by the method enumerate
.
SDKs
Framework
struct MatchingFlags
static var progress: NSRegular Expression .Matching Flags
Set when the Block is called to report progress during a long-running match operation.
static var completed: NSRegular Expression .Matching Flags
Set when the Block is called after matching has completed.
static var hit End: NSRegular Expression .Matching Flags
Set when the current match operation reached the end of the search range.
static var required End: NSRegular Expression .Matching Flags
Set when the current match depended on the location of the end of the search range.
static var internal Error: NSRegular Expression .Matching Flags
Set when matching failed due to an internal error.