MatchingFlags

public struct MatchingFlags : OptionSet

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

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

    Declaration

    Swift

    public static let progress: MatchingFlags
  • Set when the Block is called after matching has completed.

    Declaration

    Swift

    public static let completed: MatchingFlags
  • Set when the current match operation reached the end of the search range.

    Declaration

    Swift

    public static let hitEnd: MatchingFlags
  • Set when the current match depended on the location of the end of the search range.

    Declaration

    Swift

    public static let requiredEnd: MatchingFlags
  • Set when matching failed due to an internal error.

    Declaration

    Swift

    public static let internalError: MatchingFlags
  • Declaration

    Swift

    public let rawValue: UInt8
  • Declaration

    Swift

    public init(rawValue: UInt8)