PatternOptions

public struct PatternOptions : OptionSet

Options that modify the pattern matching algorithm

  • Integer representation of the option

    Declaration

    Swift

    public let rawValue: Int
  • Basic initialiser with the integer representation

    Declaration

    Swift

    public init(rawValue: Int)
  • Searches of the elements of the pattern backward from the end of the output. Othwerise, if not present, it matches from the beginning.

    Declaration

    Swift

    public static let backwardMatch: PatternOptions