Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
regexp: RuneReader-related functions treat non-EOF errors the same as EOF #40509
What version of Go are you using (
My sense is that it's working as intended: mostly because of the connection between regexp.MatchReader and regexp.(*Regexp).MatchReader. I think it would be inconsistent for regexp.MatchReader to return an error if regexp.(*Regexp).MatchReader wouldn't (because it can't). I don't have an especially strong opinion about this though.