Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: regexp - replace spaces in quoted string

by uksza (Canon)
on Sep 06, 2005 at 11:11 UTC ( [id://489436]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/(".*?")/($x=$1)=~y: :_:, $x/ge)
    
    ...
                               string
    ----------------------------------------------------------------------
      x/ge                     'x/ge'
    
  2. or download this
    s/(".*?")/($x=$1)=~y: :_:, $x/ge)
    ^^^^^^^^^1
    ...
                      ^^^^^^^3
                              ^^4
                                 ^^^5
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found