in reply to self limiting regex help
However, I'm not quite sure how to integrate this piece that would also satisfy this requirement:/[RYMKSWHBVDN]{0,2}/i
any number of A,T,C,G ...Could you try something along those lines:
Oww, but then, they could be mixed right?/[ATCG][RYMKSWHBVDN]{0,2}/i
$"=q;grep;;$,=q"grep";for(`find . -name ".saves*~"`){s;$/;;;/(.*-(\d+) +-.*)$/;$_=["ps -e -o pid | "," $2 | "," -v "," "]`@$_`?{print" ++ $1"}:{print"- $1"}&&`rm $1`;print"\n";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: self limiting regex help
by spq (Friar) on May 22, 2002 at 15:43 UTC |