------------------------
Charles Yeomans
http://www.declareSub.com/
On Feb 26, 2007, at 12:19 PM, Christian Miller wrote:
> On Feb 26, 2007, at 11:48 AM, Norman Palardy wrote:
>> On Feb 25, 2007, at 9:45 PM, Christian Miller wrote:
>>
>>> Hello. I searched the NUG archives for any code pertaining to RegEx
>>> and CSV (Comma Separated Values).
>>>
>>> I came upon this formula from 2004: (?<=,)("[^"]*"|'[^']*'|[^,]*)
>>> (?=,)
>>>
>>> What am I doing wrong?
>>
>> And depending on where the CV comes from it's perfectly legal to
>> embed a carriage return and/or line feed in it :)
>>
>> Are you reading this from a file ?
>
> Hi Norman, yes, I'm reading those entries from a file. Can you tell
> me why the RegExMatch won't loop through the entire line?
It's not designed to do so. You need to loop yourself, if I
understand your question correctly.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>