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
Regexp package successfully compiles "\Q\E_", while re2 says: re2/re2.cc:202: Error parsing '\Q\E_': no argument for repetition operator: *
Who is right here? What is the reason for difference?
go version devel +b0532a9 Mon Jun 8 05:13:15 2015 +0000 linux/amd64
The text was updated successfully, but these errors were encountered:
Similar case is "\Q\E{2}"
Sorry, something went wrong.
Perl and RE2 both reject \Q\E*, so I suppose Go should too, although I don't see how it is really different from (?:)*.
\Q\E*
(?:)*
Now I see it. (?:) is a group.
CL https://golang.org/cl/17233 mentions this issue.
0680e9c
No branches or pull requests
Regexp package successfully compiles "\Q\E_", while re2 says:
re2/re2.cc:202: Error parsing '\Q\E_': no argument for repetition operator: *
Who is right here? What is the reason for difference?
go version devel +b0532a9 Mon Jun 8 05:13:15 2015 +0000 linux/amd64
The text was updated successfully, but these errors were encountered: