Skip to content
New issue

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

Fix treatment of \Q\E* #108

Merged
merged 1 commit into from
Jun 3, 2020
Merged

Fix treatment of \Q\E* #108

merged 1 commit into from
Jun 3, 2020

Conversation

sjamesr
Copy link
Contributor

@sjamesr sjamesr commented Jun 3, 2020

Ports the fix of golang/go#11187 to RE2/J. The
contents of a \Q...\E sequence is now treated as a sequence of literal
chars, not a single literal string.

Fixes #92.

Ports the fix of golang/go#11187 to RE2/J. The
contents of a \Q...\E sequence is now treated as a sequence of literal
chars, not a single literal string.

Fixes google#92.
@sjamesr sjamesr merged commit 26ea890 into google:master Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

regexp: considers "\Q\E*" as valid regexp
2 participants