The stringsearch package provides a quick find / replace function for Haskell ByteStrings. Is there appropriate functionality for text strings defined in the Data.Text package?
The only approaches that I see at the moment include encoding in UTF8, using stringsearch, and then converting back, which is not ideal!
source share