initial commits
parent
719fbde7c4
commit
0a48b865b0
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue