Re: ???UNSURE??? RE: need help with regular expression

2005-06-15 Thread Praedor Atrebates
On Wednesday 15 June 2005 09:16 am, Sugrue, Sean wrote: > There is a program called a regular expression coach > http://www.weitz.de/regex-coach/ which is a big help with difficult > Expressions. [...] Thank you! I'll take a look. > When you say "a series ... 3 to 5 characters in length", do you

Re: ???UNSURE??? Re: need help with regular expression

2005-06-14 Thread Praedor Atrebates
On Tuesday 14 June 2005 17:34, Jeff 'japhy' Pinyan wrote: > On Jun 14, Praedor Atrebates said: > > $dnakmotif = '[KRH][L{3,}V{3,}I{3,}F{3,}Y{3,}A{3,}][KRH]; > > > > I am just learning as I go here but there are two problems with this, one > > of which I

Re: ???UNSURE??? RE: need help with regular expression

2005-06-14 Thread Praedor Atrebates
On Tuesday 14 June 2005 16:37, Wagner, David --- Senior Programmer Analyst --- WGO wrote: [...] > > I have this (pertinent) code in my script: > > > > $dnakmotif ='[KRH][L{3,}V{3,}I{3,}F{3,}Y{3,}A{3,}][KRH]; > > $dnakmotif ='[KPH](L{3,5}|V{3,5}|I{3,5}|F{3,5}|Y{3,5}|A{3,5}){1,}[KRH]'; > This

need help with regular expression

2005-06-14 Thread Praedor Atrebates
I am dinking around with perl for bioinformatics purposes. I have written a small perl script that reads FASTA formatted sequence files and searches the sequence therein for user-entered sequences. This is primarily targetted at protein sequence analysis and for my purposes, I've included -