     private static var includeRegex: NSRegularExpression = try! NSRegularExpression(pattern: "#include\\s+\"(.+\\.xcconfig)\"", options: .caseInsensitive)
     // swiftlint:disable:next force_try line_length
     private static var settingRegex: NSRegularExpression = try! NSRegularExpression(pattern: "([^\\s]+)\\s*=\\s*(\"?[^\"]+\"?)", options: [])
-
 }
 
 // MARK: - XCConfig Extension (Equatable)

        if !path.exists { throw XCConfigError.notFound(path: path) }
        let fileLines = try path.read().components(separatedBy: "\n")
        self.includes = fileLines
            .flatMap(XCConfig.configFrom(path: path))
        var buildSettings: [String: String] = [:]
        fileLines
            .flatMap(XCConfig.settingFrom)
            .forEach { buildSettings[$0.key] = $0.value }
        self.buildSettings = buildSettings
    }

    /// Given the path the line is being parsed from, it returns a function that parses a line,
    /// and returns the include path and the config that the include is pointing to.
    ///
    /// - Parameter path: path of the config file that the line belongs to.
    /// - Returns: function that parses the line.
    private static func configFrom(path: Path) -> (String) -> (include: Path, config: XCConfig)? {
        return { line in
            return XCConfig.includeRegex.matches(in: line,
                                                 options: NSRegularExpression.MatchingOptions(rawValue: 0),
                                                 range: NSRange(location: 0,
                                                                length: line.characters.count))

    }

    static func settingFrom(line: String) -> (key: String, value: String)? {
        return settingRegex.matches(in: line,
                                             options: NSRegularExpression.MatchingOptions(rawValue: 0),
                                             range: NSRange(location: 0,
                                                            length: line.characters.count))
