Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Error in my Regular expression pattern

by Anonymous Monk
on Mar 18, 2012 at 07:28 UTC ( #960267=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     print "pos is ", pos, ", remainder '", substr($_, pos), "'\n";
    pos($_) = undef;
    
  2. or download this
    Number of occurences = 1
    pos is 7, remainder ' twinkle little star'
    Found 2 times
    
  3. or download this
     my $count =()= m/twinkle/ig;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-20 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls