Closed CagdasBayram-at closed 2 years ago
"foo".replace(new RE2("$", "g"), "END") yields ENDfENDoENDoEND The expectation per RE2 is fooEND
"foo".replace(new RE2("$", "g"), "END")
ENDfENDoENDoEND
fooEND
It looks like a problem with the underlying library. I will investigate more.
Nope, it is my bug.
Thank you Eugene!
Published as 1.17.3.
"foo".replace(new RE2("$", "g"), "END")
yieldsENDfENDoENDoEND
The expectation per RE2 isfooEND