David Gray wrote: > > > How about: > > > > /(\S+)=(.+?)(?=\s+\S+=|\s+|\z)/g > > ^^^^ > > > > To catch trailing whitespace at the end of the line of data? > > Actually, I meant: > > /(\S+)=(.+?)(?=\s+\S+=|\s*\z)/g > ^^^
Yeah, that will work. :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]