Regex

class Regex

Undocumented

  • Undocumented

    Declaration

    Swift

    static let imagePattern: String
  • Undocumented

    Declaration

    Swift

    static let imageTagPattern: String
  • Undocumented

    Declaration

    Swift

    static let titlePattern: String
  • Undocumented

    Declaration

    Swift

    static let metatagPattern: String
  • Undocumented

    Declaration

    Swift

    static let metatagContentPattern: String
  • Undocumented

    Declaration

    Swift

    static let cannonicalUrlPattern: String
  • Undocumented

    Declaration

    Swift

    static let rawUrlPattern: String
  • Undocumented

    Declaration

    Swift

    static let rawTagPattern: String
  • Undocumented

    Declaration

    Swift

    static let inlineStylePattern: String
  • Undocumented

    Declaration

    Swift

    static let inlineScriptPattern: String
  • Undocumented

    Declaration

    Swift

    static let linkPattern: String
  • Undocumented

    Declaration

    Swift

    static let scriptPattern: String
  • Undocumented

    Declaration

    Swift

    static let commentPattern: String
  • Undocumented

    Declaration

    Swift

    static let hrefPattern: String
  • Undocumented

    Declaration

    Swift

    static func test(_ string: String!, regex: String!) -> Bool
  • Undocumented

    Declaration

    Swift

    static func pregMatchFirst(_ string: String!, regex: String!, index: Int = 0) -> String?
  • Undocumented

    Declaration

    Swift

    static func pregMatchAll(_ string: String!, regex: String!, index: Int = 0) -> [String]
  • Undocumented

    Declaration

    Swift

    static func stringMatches(_ results: [NSTextCheckingResult], text: String, index: Int = 0) -> [String]
  • Undocumented

    Declaration

    Swift

    static func tagPattern(_ tag: String) -> String