stringsearch

Fast searching, splitting and replacing of ByteStrings

https://bitbucket.org/dafis/stringsearch

Version on this page:0.3.6.6@rev:1
LTS Haskell 22.39:0.3.6.6@rev:2
Stackage Nightly 2024-10-31:0.3.6.6@rev:2
Latest on Hackage:0.3.6.6@rev:2

See all snapshots stringsearch appears in

BSD-3-Clause licensed by Daniel Fischer, Chris Kuklewicz, Justin Bailey
Maintained by [email protected]
This version can be pinned in stack with:stringsearch-0.3.6.6@sha256:e88c03f4adb4bb3ab88550c921a9a8a2836a0a70f58b9cc64cff2ac65af9b77c,4251

This package provides several functions to quickly search for substrings in strict or lazy ByteStrings. It also provides functions for breaking or splitting on substrings and replacing all occurrences of a substring (the first in case of overlaps) with another. GHC before 6.10 are no longer supported, other compilers only if they support BangPatterns. If you need it to work with other compilers, send a feature request.