Re: RFC 165: Allow variables in a tr///
[email protected] (Nathan Wiger)
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
> tr('a-z', 'A-Z', $str)
>
> replaces a-z with A-Z, and
>
> tr($foo, $bar, $str)
>
> replaces the characters from $foo with the characters from $bar.
> No special syntax is necessary.
This is actually right up the alley of v2 of RFC 164, which I am editing
currently. Exactly, in fact.
Please, continue the discussion, but much of this will be covered in RFC
164, which should hopefully be out by this afternoon. I will keep
monitoring this discussion for possible useful additions.
-Nate