in reply to Re^2: Help to build a REGEXP (BioPerl)
in thread Help to build a REGEXP

Still, this doesn't seem to work...
if($line7=~/^\s+\/translation\=\"(.*?)\"/s) {$amino_acid_seq=$1;}

Replies are listed 'Best First'.
Re^4: Help to build a REGEXP (m//ms)
by Anonymous Monk on Mar 12, 2014 at 00:21 UTC

    Try m//ms instead if //gs

    Also, use re 'debug'; to see how the regex engine matches your string ... you can also use rxrx - command-line REPL and wrapper for Regexp::Debugger

    Also interesting (but tad more pita to install) is wxPPIxregexplain.pl