Skip to content

Fix treatment of \Q\E*#108

Merged
sjamesr merged 1 commit intogoogle:masterfrom
sjamesr:fix_issue_92
Jun 3, 2020
Merged

Fix treatment of \Q\E*#108
sjamesr merged 1 commit intogoogle:masterfrom
sjamesr:fix_issue_92

Conversation

@sjamesr
Copy link
Copy Markdown
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