Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split with skip-empty not woring on null string #6135

Closed
p6rt opened this issue Mar 8, 2017 · 4 comments
Closed

split with skip-empty not woring on null string #6135

p6rt opened this issue Mar 8, 2017 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 8, 2017

Migrated from rt.perl.org#130955 (status was 'resolved')

Searchable as RT130955$

@p6rt
Copy link
Author

p6rt commented Mar 8, 2017

From blackcatoverwall@gmail.com

Split a null string with skip-empty not working.

Code​:

say "".split(';', :skip-empty).perl;

say "".split(';').perl;

Result​:

("",)

("",)

perl6 -v :

This is Rakudo version 2017.02 built on MoarVM version 2017.02
implementing Perl 6.c.

@p6rt
Copy link
Author

p6rt commented Mar 8, 2017

From @zoffixznet

On Wed, 08 Mar 2017 04​:46​:55 -0800, blackcatoverwall@​gmail.com wrote​:

Split a null string with skip-empty not working.

Code​:

say "".split(';', :skip-empty).perl;

say "".split(';').perl;

Result​:

("",)

("",)

perl6 -v :

This is Rakudo version 2017.02 built on MoarVM version 2017.02
implementing Perl 6.c.

Thank you for the report. This is now fixed.

Fix​: rakudo/rakudo@fc86084f06
Tests​: Raku/roast@a8a7ff148e

@p6rt
Copy link
Author

p6rt commented Mar 8, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Mar 8, 2017

@zoffixznet - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Mar 8, 2017
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant