regexp: LiteralPrefix returns surprising result for
^ anchored strings
What version of Go are you using (
The text was updated successfully, but these errors were encountered:
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.