Regex

public struct Regex

Undocumented

  • Undocumented

    Declaration

    Swift

    public var nsRegularExpression: NSRegularExpression { get }
  • Undocumented

    Declaration

    Swift

    public init(_ pattern: String, options: [Option] = [])
  • Undocumented

    Declaration

    Swift

    public func matches(for string: String) -> [Match]
  • Undocumented

    Declaration

    Swift

    public func any(_ string: String) -> Bool
  • Undocumented

    See more

    Declaration

    Swift

    public enum Option
  • Undocumented

    Declaration

    Swift

    public typealias CaptureGroup = (match: String, index: Int)
  • Undocumented

    See more

    Declaration

    Swift

    public struct Match
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public var debugDescription: String { get }