From 0a48b865b0d5724d03e3ee262c38770e9c74e5e9 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Sat, 9 Dec 2023 03:26:10 -0800 Subject: [PATCH] initial commits --- method/bytes_tolerant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/method/bytes_tolerant.go b/method/bytes_tolerant.go index 00eac44..b1663ce 100644 --- a/method/bytes_tolerant.go +++ b/method/bytes_tolerant.go @@ -20,7 +20,7 @@ func BytesTolerant(p []byte) (result []byte, rest []byte, ok bool) { { for i,b := range p { - if sp.ByteIsTolerant(p0) || '\r' == p0 || '\n' == p0 { + if sp.ByteIsTolerant(b) || '\r' == b || '\n' == b { return p[:i], p[i:], true } }