Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Regexp matched part to lower case

by ivancho (Hermit)
on Jun 02, 2005 at 07:18 UTC ( [id://462789]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regexp matched part to lower case
in thread Regexp matched part to lower case

the right hand side will be evaluated. Thus, treat it not as surrounded by quotes, but as an expression.

like:

s/.../"<idl package=\"".lc($1)."\" name=\"$3\" anker=\"$4\"\/>"/ge

Update: sorry, forgot the "'s

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-16 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found