Jason Price wrote:
I'm trying to write a regular expression to divide up a line of
text into a hash, but am having a hard time with it.  I'm hoping
you all can help me.

Here's an example line of text:

<example snipped>

Not every line will have the same keys, or the same number of keys.

In that case the example you posted is obviously not sufficient as a problem description.

Is there a good way to do this with a regular expression?

Can't tell.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
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