Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
regexp: LiteralPrefix returns surprising result for `^` anchored strings #33506
What version of Go are you using (
I opened a separate issue because I wanted to restrict the discussion in #30425 only to the change in behavior between Go versions and what to do about that.
This issue questions the documented semantics of
While the documentation of
Any match of
We could update the comment on
If you prefer to discuss everything in #30425, no problem, I can close this issue.