We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49b0847 + 4c5c620 commit 37c66a3Copy full SHA for 37c66a3
1 file changed
timestamp.go
@@ -9,7 +9,8 @@ func containsTimestamp(line string) bool {
9
line = line[:lookForTimestampLimit]
10
}
11
var digits, colons int
12
- for _, r := range line {
+ for i := 0; i < len(line); i++ {
13
+ r := line[i]
14
switch {
15
case r >= '0' && r <= '9':
16
digits++
0 commit comments