We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following program crashes with the panic:
package main import "regexp" func main() { regexp.MustCompile(regexp.QuoteMeta("\xfe")) }
panic: regexp: Compile("\xfe"): error parsing regexp: invalid UTF-8: `�`
Documentation claims that "the returned string is a regular expression matching the literal text".
go version devel +b0532a9 Mon Jun 8 05:13:15 2015 +0000 linux/amd64
The text was updated successfully, but these errors were encountered:
Package regexp only works on UTF-8. The package docs say "All characters are UTF-8-encoded code points."
Sorry, something went wrong.
No branches or pull requests
The following program crashes with the panic:
Documentation claims that "the returned string is a regular expression matching the literal text".
go version devel +b0532a9 Mon Jun 8 05:13:15 2015 +0000 linux/amd64
The text was updated successfully, but these errors were encountered: