Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i wish the program to return zvvxgvxzuse strict; use warnings; my $a = "bbzvbvxmgbnmnvxyyz"; $a =~ m/([zvxg])/g; print $1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: extract sequences of certain letters and assign it to a variable
by CountZero (Bishop) on Nov 16, 2008 at 11:44 UTC | |
|
Re: extract sequences of certain letters and assign it to a variable
by LanX (Saint) on Nov 16, 2008 at 13:06 UTC | |
|
Re: extract sequences of certain letters and assign it to a variable
by bart (Canon) on Nov 16, 2008 at 13:59 UTC |