Closed GoogleCodeExporter closed 9 years ago
This is a known difference compared to Perl. RE2 works fundamentally a byte at
a time and it only has 1-byte lookahead. It cannot look for \r\n. This is the
same reason RE2 has \z but not \Z. I am sorry. Convert the \r\n to \n in your
text before matching.
Original comment by rsc@golang.org
on 5 Jun 2014 at 4:43
Original issue reported on code.google.com by
Lhot...@gmail.com
on 5 Jun 2014 at 3:56