Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Regex Question : Substitution

by BooK (Curate)
on Feb 02, 2001 at 15:56 UTC ( #55981=note: print w/ replies, xml ) Need Help??


in reply to Regex Question : Substitution

Or even shorter, use the transliteration operator:

$eng =~tr/u/a/;

Documentation to be found at: tr and perlop


Comment on Re: Regex Question : Substitution
Download Code
Re: Re: Regex Question : Substitution
by $code or die (Deacon) on Feb 02, 2001 at 17:14 UTC
Re: Re: Regex Question : Substitution
by petral (Curate) on Feb 03, 2001 at 07:26 UTC
    Er, I think he wants t/Uu/Aa/

    p

    oopsdate: Never mind. (I gotta keep this set at a larger font.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://55981]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2015-07-03 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls