Re: pyparsing question: single word values with a double quoted string every once in a while

2009-05-27 Thread Piet van Oostrum
> hubritic (h) wrote: >h> I want to parse a log that has entries like this: >h> [2009-03-17 07:28:05.545476 -0500] rprt s=d2bpr80d6 m=2 mod=mail >h> cmd=msg module=access rule=x_dynamic_ip action=discard attachments=0 >h> rcpts=1 >h> >routes=DL_UK_ALL,NOT_DL_UK_ALL,default_inbound,firewallsa

pyparsing question: single word values with a double quoted string every once in a while

2009-05-19 Thread hubritic
I want to parse a log that has entries like this: [2009-03-17 07:28:05.545476 -0500] rprt s=d2bpr80d6 m=2 mod=mail cmd=msg module=access rule=x_dynamic_ip action=discard attachments=0 rcpts=1 routes=DL_UK_ALL,NOT_DL_UK_ALL,default_inbound,firewallsafe,mail01_mail02,spfsafe size=4363 guid=291f0f108