Closed GoogleCodeExporter closed 9 years ago
Yes, this is an incompatibility between Perl and RE2.
RE2 only does single-byte lookahead, so in Perl terms
it implements (?-m)$ as \z not \Z.
I have updated the syntax page to make this explicit
http://code.google.com/p/re2/wiki/Syntax
Original comment by rsc@swtch.com
on 30 Jan 2011 at 6:39
Original issue reported on code.google.com by
dgl...@gmail.com
on 29 Jan 2011 at 4:47