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

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

Thread Previous | Thread Next
From:
Eric Brine
Date:
October 27, 2011 11:13
Subject:
Re: [perl #99928] \R doesn't match correctly
Message ID:
CALJW-qHSDk=M=zmc0=xGfQDWzX+MsSiBSt1SDepsMBwjRS73yA@mail.gmail.com
On Thu, Oct 27, 2011 at 12:47 PM, Karl Williamson via RT <
perlbug-comment@perl.org> wrote:

> 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.
>

Makes sense to me.

Does \X use (?>...) too?


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About