#Searching for NCBI Entrez Gene IDs my @OriginalArray = ( $Text =~ /(LOC\d{9})/g ); for my $loc( @OriginalArray){ next if $VisitedLinks{$loc}; $VisitedLinks{$loc} = 1; my $Link = $self->EntrezGeneLinks($loc); $Text =~ s/\Q$loc\E/$Link/g; }
"XML is like violence: if it doesn't solve your problem, use more."
In reply to Re: Matches but not substituting
by NetWallah
in thread Matches but not substituting
by seaver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |