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 mean
>
> LLL,III,VVV,FFF,YYY
>
> Or
>
> LIV,FLY,YYL,FFI
>
> Because you could try something like
>
> /[KRH][LIVFY]{3,5}[KRH]/
The latter is correct and the version at the bottom does work as desired.
I am now contemplating mixing things up again though. Upon further research,
I have decided to eliminate the requirement for K, R, or H on either end and
would like to go with something that rules OUT certain residues/characters,
in particular, I'd like to rule out these bordering characters: E and D.
--
Question with boldness even the existence of a god; because if there be one he
must approve of the homage of reason more than that of blindfolded fear.
-Thomas Jefferson, Aug 10, 1787
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>