
15 Apr
2009
15 Apr
'09
7:39 a.m.
David Carter
I then thought I might work around the problem by converting lazy ByteStrings to strict ones in order to do the regex match.
strictBS :: LB.ByteString -> B.ByteString strictBS = B.concat . LB.toChunks lazyBS :: B.ByteString -> LB.ByteString lazyBS = LB.fromChunks . pure -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.