in reply to Re: Print A Sequence with Start codon and different Stop Codon
in thread Print A Sequence with Start codon and different Stop Codon

THanks Bunch, It Works. YAYYYYYYYY! I have a quick question what does the ?? before the print command does?

  • Comment on Re^2: Print A Sequence with Start codon and different Stop Codon

Replies are listed 'Best First'.
Re^3: Print A Sequence with Start codon and different Stop Codon
by Anonymous Monk on Oct 28, 2015 at 01:56 UTC

    See "(??{ code })" in perldoc perlre

      should that be "(?{ code })" instead of "(??{ code })" ?

        Nope.

        "(??{ code })" is used so the regex fails and backtracks. It's the backtracking that finds every answer.