Multiline regex

Brandon Harris brandon.harris at reelfx.com
Wed Jul 21 11:57:35 EDT 2010


Could it be that there isn't just that type of data in the file? there 
are many different types, that is just one that I'm trying to grab.

Brandon L. Harris


Andreas Tawn wrote:
>> I could make it that simple, but that is also incredibly slow and on a
>> file with several million lines, it takes somewhere in the league of
>> half an hour to grab all the data. I need this to grab data from many
>> many file and return the data quickly.
>>
>> Brandon L. Harris
>>     
>
> That's surprising.
>
> I just made a file with 13 million lines of your data (447Mb) and read it with my code. It took a little over 36 seconds. There must be something different in your set up or the real data you've got.
>
> Cheers,
>
> Drea
>   




More information about the Python-list mailing list