monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Similarly..# From $str1 = "ATC[TG]CC"; # into $ans_of_str1 = [ # 'ATCTCC', 'ATCGCC' ];
Example 3:# From $str2 = "ATCGC[ATCG]"; # into $ans_of_str2 = [ # 'ATCGCA', 'ATCGCT', 'ATCGCC', 'ATCGCG', ];
# From $str3 = "ATCGCT"; # into $ans_of_str3 = [ 'ATCGCT' ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Breaking Up a Bracketed String
by Aristotle (Chancellor) on Nov 22, 2005 at 12:56 UTC | |
|
Re: Breaking Up a Bracketed String
by Roy Johnson (Monsignor) on Nov 22, 2005 at 14:40 UTC | |
|
Re: Breaking Up a Bracketed String
by Happy-the-monk (Canon) on Nov 22, 2005 at 13:05 UTC | |
|
Re: Breaking Up a Bracketed String
by artist (Parson) on Nov 22, 2005 at 13:28 UTC | |
|
Re: Breaking Up a Bracketed String
by reasonablekeith (Deacon) on Nov 22, 2005 at 15:06 UTC | |
|
Re: Breaking Up a Bracketed String
by Not_a_Number (Prior) on Nov 22, 2005 at 22:13 UTC | |
|
Re: Breaking Up a Bracketed String
by monarch (Priest) on Nov 22, 2005 at 13:24 UTC |