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

.trans from a regex to a string does the Wrong Thing in Rakudo #2277

Closed
p6rt opened this issue Nov 25, 2010 · 5 comments
Closed

.trans from a regex to a string does the Wrong Thing in Rakudo #2277

p6rt opened this issue Nov 25, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Nov 25, 2010

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

Searchable as RT79778$

@p6rt
Copy link
Author

p6rt commented Nov 25, 2010

From @masak

<masak> rakudo​: say "this sentence no verb".trans( / \s+ / => " " )
<p6eval> rakudo : OUTPUT«this senten e n ver ␤»
<masak> :(
* masak submits rakudobug
<colomon> I thought you were fixing that? ;)
<masak> yeah. me too.

@p6rt
Copy link
Author

p6rt commented Apr 21, 2012

From @jnthn

On Thu Nov 25 11​:51​:59 2010, masak wrote​:

<masak> rakudo​: say "this sentence no verb".trans( / \s+ / => " " )
<p6eval> rakudo : OUTPUT«this senten e n ver ␤»
<masak> :(
* masak submits rakudobug
<colomon> I thought you were fixing that? ;)
<masak> yeah. me too.

Works these days​:

say "this sentence no verb".trans( / \s+ / => " " )
this sentence no verb
say "this sentence no verb".trans( / \s+ / => " " )
this sentence no verb

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Apr 21, 2012

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

@p6rt
Copy link
Author

p6rt commented Jan 14, 2014

From @coke

On Sat Apr 21 02​:06​:01 2012, jnthn@​jnthn.net wrote​:

On Thu Nov 25 11​:51​:59 2010, masak wrote​:

<masak> rakudo​: say "this sentence no verb".trans( / \s+ / => " " )
<p6eval> rakudo : OUTPUT«this senten e n ver ␤»
<masak> :(
* masak submits rakudobug
<colomon> I thought you were fixing that? ;)
<masak> yeah. me too.

Works these days​:

say "this sentence no verb".trans( / \s+ / => " " )
this sentence no verb
say "this sentence no verb".trans( / \s+ / => " " )
this sentence no verb

Tagging testneeded.

/jnthn

Test was added to S05-transliteration/79778.t by Steve Mynott on 08/2013,,but was never activated. as of 65e0393, rakudo is now running (and at least on parrot, passing) this test.
--
Will "Coke" Coleda

@p6rt p6rt closed this as completed Jan 14, 2014
@p6rt
Copy link
Author

p6rt commented Jan 14, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant