Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: counting overlapping patterns

by ikegami (Pope)
on Feb 18, 2005 at 21:49 UTC ( #432534=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ("AAAA" =~ /A(A+)/g) {
       $count += length($1);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2019-11-14 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (80 votes). Check out past polls.

    Notices?