There is a program called a regular expression coach
http://www.weitz.de/regex-coach/ which is a big help with difficult
Expressions. 

-----Original Message-----
From: Tim Johnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 14, 2005 7:34 PM
To: Praedor Atrebates; Wagner, David --- Senior Programmer Analyst ---
WGO; Perl Beginner
Subject: RE: ???UNSURE??? RE: need help with regular expression




When you say "a series ... 3 to 5 characters in length", do you mean

LLL,III,VVV,FFF,YYY

Or

LIV,FLY,YYL,FFI

Because you could try something like

/[KRH][LIVFY]{3,5}[KRH]/

(not tested), but something like.




-----Original Message-----
From: Praedor Atrebates [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 2005 4:30 PM
To: Wagner, David --- Senior Programmer Analyst --- WGO; Perl Beginner
Subject: Re: ???UNSURE??? RE: need help with regular expression

[Tim Johnson] <snip>

Originally I had thought to assign L, I, V, F, Y, and A to another
variable, called $hydrophobe or some such and simply see about looking
for a series of hydrophobes between K, R, or Hs between 3 to 5
characters in length but could 

[Tim Johnson] <snip>


--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>
<http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to