develooper Front page | perl.perl5.porters | Postings from February 2016

[perl #122761] split /\A/ works like /^/m, matches embedded newlines

Thread Previous
From: via RT
February 26, 2016 18:53
[perl #122761] split /\A/ works like /^/m, matches embedded newlines
Message ID:
On Tue Sep 16 20:13:15 2014, demerphq wrote:
> I have fixed this with:
> 1645b83c5ceecd8a95db0310d80125d8b188eb83 Perl RT #122761 - split /\A/
> should not behave like split /^/m
> aa48e906ca55e0da8e1317549a4ddafff3837f3f change NODE_ALIGN_FILL to set
> flags to 0
> d3d47aac53402ea3d4836c60e3659dc927a9887c Eliminate the duplicative
> regops
> BOL and EOL
> Note that this does NOT make split // default to /m enabled. It simply
> allows the split optimisation involved to distinguish between /^/ and
> /\A/.
> Related to this I did some cleanup, freeing up bits, reducing object
> size,
> and other simplifications.
> /me puts away the chainsaw.
> I still plan to try the "default to /m in split" and see what happens,
> so
> please do not close this ticket right away, even though
> 1645b83c5ceecd8a95db0310d80125d8b188eb83 does fix the actual issue
> reported
> in this ticket.

Shouldn't this be done in a new ticket then? (Also, is this still happening?)

via perlbug:  queue: perl5 status: open

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