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

implement tr/// #591

Closed
p6rt opened this issue Jan 8, 2009 · 6 comments
Closed

implement tr/// #591

p6rt opened this issue Jan 8, 2009 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 8, 2009

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

Searchable as RT62064$

@p6rt
Copy link
Author

p6rt commented Jan 8, 2009

From @finanalyst

These dont appear to be implimented, but are not listed in the
unimplimented page
$ perl6

$_='mOkjOkl';tr/O/0/;.say
Statement not terminated properly at line 1, near "/;.say\n"
$_='mOkjOkl';tr/'O'/'0'/;.say
Statement not terminated properly at line 1, near "/;.say\n"
$_='mOkjOkl';s/ O / 0 /;.say
Statement not terminated properly at line 1, near "/;.say\n"

@p6rt
Copy link
Author

p6rt commented Jun 30, 2010

From @bbkr

On Kiev build following code works​:

[15​:33] <bbkr> rakudo​: $_ = "test"; $_ ~~ s/t/x/; .say;
[15​:33] <p6eval> rakudo aa015a​: OUTPUT«xest␤»

But bare s/// doesn't default to $_.

[15​:32] <bbkr> rakudo​: $_ = "test"; s/t/x/; .say;
[15​:32] <p6eval> rakudo aa015a​: OUTPUT«test␤»

So it's not resolved yet.

@p6rt
Copy link
Author

p6rt commented Jun 30, 2010

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

@p6rt
Copy link
Author

p6rt commented Feb 20, 2011

From @moritz

fwiw s/// is now rather robust, but tr/// is still missing.

@p6rt
Copy link
Author

p6rt commented Jul 13, 2014

From @peschwa

tr/// has been implemented and merged in [1] and corrected slightly in [2]. The existing roast tests have been un-skipped in [3].

[1] rakudo/rakudo#284
[2] rakudo/rakudo#289
[3] Raku/roast@be941e0a0d

@p6rt p6rt closed this as completed Jul 18, 2014
@p6rt
Copy link
Author

p6rt commented Jul 18, 2014

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

@p6rt p6rt added the Todo 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