Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Regexes: finding ALL matches (including overlap)

by ikegami (Patriarch)
on Jun 04, 2005 at 04:51 UTC ( [id://463471]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $count;
    
    ...
    # 6. Matches 'c'.
    
    print("$count\n");  # 2
    
  2. or download this
    my $count;
    our $c = 0;
    ...
    # 8. $count = $c.
    
    print("$count\n");  # 1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-03-28 13:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found