     replaceFirst(matching: Regex(pattern), with: template)
   }
 
-
-
   // MARK: Replacing the first match (nonmutating)
 
   /// Returns a new string where the first match of `regex` is replaced with

    replaceAll(matching: Regex(pattern), with: template)
  }



  // MARK: Replacing all matches (nonmutating)

  /// Returns a new string where each substring matched by `regex` is replaced

  public func replacingFirst(matching pattern: StaticString, with template: String) -> String {
    return replacingFirst(matching: Regex(pattern), with: template)
  }

  // MARK: Replacing all matches (mutating)

