in reply to Re: regular expression ?!
in thread regular expression ?!
#!/usr/local/bin/perl use strict; use Getopt::Long; use sql_engine; my $string = "XXX2EX_"; #my (@grepnam, @names); while(<>) { chomp; if ($_ =~/SNP*/i) { #print $_, "\n"; if ($_ =~s/BM*/$string/) { print $_, "\n"; } } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: regular expression ?!
by Anonymous Monk on May 05, 2009 at 12:51 UTC | |
by moritz (Cardinal) on May 05, 2009 at 12:52 UTC |