in reply to Re: regexp g option: finds all occurrences? ha!!
in thread regexp g option: finds all occurrences? ha!!
my $regexp = "..g.{18}c"; my @antisense_oligos; $_ = $input_seq; do{ push @antisense_oligos, $1 if (m/^($regexp)/) } while ( s/^.// ); $,="\n"; print @antisense_oligos;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: regexp g option: finds all occurrences? ha!!
by waswas-fng (Curate) on Oct 12, 2003 at 23:17 UTC |