You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FindAllString returns the whole string as the only match.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
regexp: wrong submatches when using Unicode character classes
regexp: wrong matches when using Unicode character classes
May 29, 2019
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/112417nrMlh
What did you expect to see?
FindAllString
should return matches consisting eitherentirely of alphanumeric characters or
entirely of non-alphanumeric characters, as in this example:
https://play.golang.org/p/wSTIJMabH5j
What did you see instead?
FindAllString
returns the whole string as the only match.The text was updated successfully, but these errors were encountered: