Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-03-26 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.