Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: change [A-Z] to U, [a-z] to L with one regex?

by hdb (Prior)
on Mar 20, 2013 at 08:27 UTC ( #1024475=note: print w/ replies, xml ) Need Help??


in reply to Re^2: change [A-Z] to U, [a-z] to L with one regex?
in thread change [A-Z] to U, [a-z] to L with one regex?

Thanks for your comment. I did not realize that in tr you would not need [] and that they would be treated as characters in their own right. And indeed in my script a "Z" would be translated into "L". W/o the brackets it would work. I should read the manuals more often/carefully.

For every complex problem there is an answer that is clear, simple, and wrong. H. L. Mencken


Comment on Re^3: change [A-Z] to U, [a-z] to L with one regex?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-09-23 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (212 votes), past polls