> =head1 TITLE > > Replace =~, !~, m//, and s/// with match() and subst() In a marked oversight, I'd also like to note that tr// would be replaced with trade: Perl 5 Perl 6 --------------------------- -------------------------- $str =~ tr/a/b/; $new = trade /a/b/, $str; tr/a/b/; trade /a/b/; This will be reflected in v2. However, it should be fairly obvious how this fits in with the others. I know 'tr' is really 'translate', but that's too long and it looks like 'trans' is going to be taken up by Transactional Variables (RFC 130). 'trade' connotes what is happening pretty accurately, I think. -Nate
- RFC 164 (v1) Replace =~, !~, m//, and s/// with match(... Perl6 RFC Librarian
- Re: RFC 164 (v1) Replace =~, !~, m//, and s/// wi... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and s/// wi... Nathan Torkington
- Re: RFC 164 (v1) Replace =~, !~, m//, and s//... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and... Nathan Torkington
- Re: RFC 164 (v1) Replace =~, !~, m//,... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and s/// wi... Jonathan Scott Duff
- Re: RFC 164 (v1) Replace =~, !~, m//, and s//... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and... Jonathan Scott Duff
- Re: RFC 164 (v1) Replace =~, !~, m//, and... Tom Christiansen
- Re: RFC 164 (v1) Replace =~, !~, m//,... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~,... Tom Christiansen