in reply to Perl regular expression for amino acid sequence
/[QGYN]{3,6}/ && !/(.)(?=\1\1)/
Or something like that. Instead of making it one regex, what's wrong with making it two regexes?
Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl regular expression for amino acid sequence
by seaver (Pilgrim) on Dec 01, 2004 at 20:01 UTC | |
by TedYoung (Deacon) on Dec 01, 2004 at 20:12 UTC | |
by Roy Johnson (Monsignor) on Dec 01, 2004 at 20:17 UTC | |
by dws (Chancellor) on Dec 01, 2004 at 21:13 UTC | |
by ikegami (Patriarch) on Dec 01, 2004 at 21:25 UTC | |
by !1 (Hermit) on Dec 01, 2004 at 20:37 UTC | |
by Roy Johnson (Monsignor) on Dec 01, 2004 at 20:53 UTC |