Type Aliases

The following type aliases are available globally.

  • Match count as interger values

    Declaration

    Swift

    public typealias MatchCount = Int
  • Submatch identifier as integer values

    Declaration

    Swift

    public typealias SubMatchIdentifier = Int
  • Range with string indexes

    Declaration

    Swift

    public typealias StringRange = Range<String.Index>
  • Fragment based on range values

    Declaration

    Swift

    public typealias RangeFragment = Fragment<StringRange>
  • Fragment based on substring values

    Declaration

    Swift

    public typealias SubstringFragment = Fragment<Substring>