Fredrik Lundh a écrit : > John Machin wrote: > >> Fantastic -- at least for the OP's carefully copied-and-pasted input. >> Meanwhile back in the real world, there might be problems with >> multiple tabs used for 'prettiness' instead of 1 tab, non-integer >> values, etc etc. > > > yeah, that's probably why the OP stated "which always has the same format".
Lol. > and the "trying to understand regex for the first time, and it would be > very helpful to get an example" part Yeps, I missed that part when answering yesterday. My bad. -- http://mail.python.org/mailman/listinfo/python-list