Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: counting overlapping patterns

by dave_the_m (Monsignor)
on Feb 18, 2005 at 20:28 UTC ( #432501=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $count++ while $string =~ /A(?=A)/g;
    

Log In?
Username:
Password:

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

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



    Results (86 votes). Check out past polls.

    Notices?