I need to parse a file of the form:
word,long string of text
word,long string of text
word,long string of text
To do this I am using the expression:
/^(\w+)\s*,\s*(.+?)$/
in perl. However, it doesn't seem to work. For some reason it returns
"word" in both $1 and $2. Anyone see what I'm doing wrong?
Regards, Dustin

--
Dustin Puryear
In the beginning the Universe was created.
This has been widely regarded as a bad move.
- Douglas Adams

<!-- body="end" -->
<hr noshade>
<ul>
<li><strong>Next message:</strong> Dustin Puryear: "Re: [brluglist] logging 
administrative work"
<li><strong>Previous message:</strong> Dustin Puryear: "[brluglist] 
32BitsOnline"
<li><strong>Messages sorted by:</strong> 
[ date ]
[ thread ]
[ subject ]
[ author ]
[ attachment ]
</ul>
<hr noshade>

<small>
<em>
This archive was generated by hypermail 2.1.2 
: <em>Thu Sep 06 2001 - 11:10:49 CDT</em>
</em>
</small>
</body>
</html>

Reply via email to