use Regexp::Assemble; my @search_patterns = ( 'CACGTG', 'GTGCAC' ); my $ra = Regexp::Assemble->new; $ra->add( @search_patterns ); while ( $seq =~ /$ra/g ) { ... }
In reply to Re: Multiple Regex's on a Big Sequence
by borisz
in thread Multiple Regex's on a Big Sequence
by bernanke01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |