Closed yywing closed 2 years ago
This is because of #24. With RE2
option in Singleline
mode we change \Z
and $
to mean "End of String" -- so the extra \n
at the end prevents a match (which matches the RE2 behavior). The .NET engine behavior is a bit different and allows the trailing \n
.
Why?