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

Re: regex for translation

by hdb (Monsignor)
on Oct 02, 2013 at 13:31 UTC ( [id://1056611]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub process {
        print shift, "\n"; 
    ...
    
    my $string = "ccc __(dddd)ccc __(eeee)ssss";
    $string =~ s/__\(([^)]+)\)/process($_)/egis;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found