Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: 'grouping' substrings?

by japhy (Canon)
on Feb 01, 2006 at 15:59 UTC ( [id://527085]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $seq = "...";
    my @groups;
    push @groups, [$-[0], $+[0]] while $seq =~ /M+/g;
    print "$_->[0] to $_->[1]\n" for @groups;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found