[Python-ideas] Support parsing stream with `re`

Terry Reedy tjreedy at udel.edu
Sun Oct 7 20:14:00 EDT 2018


On 10/7/2018 12:32 AM, Ram Rachum wrote:

> Does that mean I'll have to write that character-by-character algorithm? 

I would not be surprised if you could make use of str.index, which scans 
at C speed.  See my answer to Nathaniel.


-- 
Terry Jan Reedy



More information about the Python-ideas mailing list