>
> Here is my solution:
> 
>   my $dna = ...;
>   my @matches;
> 
>   $dna =~ m{
>     (?=
>       tag
>       (?:
>         .*? tag
>         # the substr(...) is there to avoid using $&
>         (?{ push @matches, substr($dna, $-[0], $+[0] - $-[0]) })
>       )+
>     )
>     (?!)
>   }x;
> 
> Now @matches holds all those tag...tag strings.  I'll explain 
> the regex if
> people would like. ;)

YES PLEASE !



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to