Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Using special characters in left part of a regex match?

by shamat (Acolyte)
on Feb 05, 2013 at 22:37 UTC ( [id://1017293]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $var[0] = "Gallia est omnis divisa in partes tres";
    $var[1] = "Gallia est omnis divisa in ...";
    ...
    $var[8] = "Gallia ... divisa ... tres";
    $var[9] = "... tres";
    $var[10] = "quattuor";
    
  2. or download this
    for ($i=0;$i<=$#var;$i++) {
        $var[$i] =~ s/\.\.\./\.\+/g;
    ...
        }  
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1017293]
Approved by mildside
Front-paged by mildside
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-18 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found