Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: regex substitution

by rchiav (Deacon)
on Nov 05, 2001 at 06:33 UTC ( #123259=note: print w/replies, xml ) Need Help??


in reply to regex substitution

closer to what you want..
$text =~ s/#([^#]+)#/$hash{$1}/g
Rich

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-09-24 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?