Sean Middleditch wrote: > the scan method will automatically handle the quotation marks? Becasue > the regular expression wouldn't understand that the comma in "a,b" is > any different than the other commas... > > Sorry if you already explained that, but I wasn't following the thread, > and I just deleted my mailbox a couple minutes ago (cleaning out the > cruft... I wish mailers had a function to only delete message over a > certain age... ah well). Doh! No, you're right. I had it right the first time. I should have learned by now never to question my mself. Foolish me for thinking I could have been wrong! The proper regexp should be /".*?"|[^,]*/ BTW, are you a member of IBOS? --- SER -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! Check out our new Unlimited Server. No Download or Time Limits! -----== Over 80,000 Newsgroups - 19 Different Servers! ==-----