Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Using special characters in left part of a regex match?

by shamat (Novice)
on Feb 05, 2013 at 22:37 UTC ( #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
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? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2015-07-02 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls