Can you post some example code and an example of the data you are using and
what you are trying to achieve. Maybe there is a better way to do what you
are after.

John

-----Original Message-----
From: Hans Holtan [mailto:[EMAIL PROTECTED]]
Sent: 13 June 2001 23:23
To: [EMAIL PROTECTED]
Subject: regex on hash keys?


Hi everyone,

I'm a bit green, and I'm trying to split a large file into a hash. My 
problem is that the parts that I want to use as keys are a bit long 
(100-200 letters), and I will need to pull them out by the presence 
of certain substrings later. So my actual question is this, how do I 
retreive a slice from a hash based on substrings in their keys?

Thanks for your help.


--------------------------Confidentiality--------------------------.
This E-mail is confidential.  It should not be read, copied, disclosed or
used by any person other than the intended recipient.  Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful.  If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.


Reply via email to