We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e9c974 + ca76d58 commit c942323Copy full SHA for c942323
BuildTimeAnalyzer/LogProcessor.swift
@@ -47,7 +47,7 @@ extension LogProcessorProtocol {
47
remainingRange = nextRange.upperBound..<remainingRange.upperBound
48
}
49
50
- let range = NSMakeRange(0, text.characters.count)
+ let range = NSMakeRange(0, (text as NSString).length)
51
guard let match = regex.firstMatch(in: text, options: [], range: range) else { continue }
52
53
let timeString = text.substring(to: text.characters.index(text.startIndex, offsetBy: match.range.length - 4))
0 commit comments