initial commits

master
Charles Iliya Krempeaux 2023-12-09 03:26:10 -08:00
parent 719fbde7c4
commit 0a48b865b0
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}