Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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
Replies are listed 'Best First'.
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/


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2015-11-30 17:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls