in reply to Permutation with repetitions
my %matches; while ($str =~ /([abcd]{8,13})/g) { $matches{$1}++; } use Data::Dumper; print Dumper \%matches;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Permutation with repetitions
by umeboshi (Acolyte) on Jun 07, 2010 at 10:01 UTC | |
by moritz (Cardinal) on Jun 07, 2010 at 10:15 UTC | |
by umeboshi (Acolyte) on Jun 07, 2010 at 10:22 UTC | |
by ambrus (Abbot) on Jun 07, 2010 at 11:06 UTC | |
by bart (Canon) on Jun 07, 2010 at 11:23 UTC | |
by ikegami (Patriarch) on Jun 12, 2010 at 23:37 UTC |