Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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 making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2016-02-08 22:08 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (286 votes), past polls