develooper Front page | perl.perl5.porters | Postings from October 2011

[perl #99928] \R doesn't match correctly

Thread Next
Karl Williamson via RT
October 27, 2011 09:47
[perl #99928] \R doesn't match correctly
Message ID:
Tom Christiansen has persuaded me that this is not a bug; that it is
working correctly.  The reason is that Unicode considers CR-LF to be a
unit, and so they should not be separated, even if it causes a match to
fail, that with backtracking would succeed.  

I have changed the TODO test for this to look for match failure, and
have added a short explanation to perlrebackslash, with an example

--Karl Williamson

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About