[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: The translate operator (was Re: [MacPerl] regex help)



On Mon, Nov 29, 1999 at 01:14:14PM -0800, Brian McNett wrote:
> 
> Just FYI, hewe's a quick vewsion as a BBEdit Pewl Filter, which opewates 
> on entiwe selections of text, and deals with capitalization:
> 
> #!perl -pl
> tr/[rR]/[wW]/;
> 

Is there some added benefit to translating the [ character to [, and the ]
character to ]?  ;)

Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org