Attention needed from Alan Donovan
Russ Cox has uploaded the change for review![Open in Gerrit]()
Russ Cox would like Alan Donovan to review this change.
Commit message
python: fix re2.search(compiled, text)
The old code was accidentally recompiling the pattern
and losing the options, both inefficient and incorrect.
Thanks to @MajorTanya for the excellent diagnosis.
This bug was introduced in CL 60290 and then copied
over from the Abseil branch.
Fixes #558.
Change-Id: I072707003b444fb0934a310e14147b4d65b9da11
Change information
Files:
- M python/re2.py
- M python/re2_test.py
Change size: XS
Delta: 2 files changed, 7 insertions(+), 1 deletion(-)
Open in GerritRelated details
Attention is currently required from:
Submit Requirements:
Code-Review
Review-Enforcement
Gerrit-MessageType: newchange
Gerrit-Project: re2
Gerrit-Branch: main
Gerrit-Change-Id: I072707003b444fb0934a310e14147b4d65b9da11
Gerrit-Change-Number: 63830
Gerrit-PatchSet: 1