Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Capture Lookahead

by fishbot_v2 (Chaplain)
on Jul 26, 2005 at 11:46 UTC ( #478145=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
       print pos( $str ) . ": $1\n";
       pos( $str ) = $-[0] + 1;      # slide pos back to the left
    }
    
  2. or download this
    14: AGGGA
    21: TACAT
    25: GTTG
    55: GAAAAAAAG
    ...etc...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-07-23 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (154 votes), past polls