| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Text.Regex.Do.Replace.Fast
Description
simple (no regex) fast replace on ByteStrings
All occurrences are replaced. There is no Once option
see replace for detail
Synopsis
- replace :: ByteString -> ByteString -> ByteString -> ByteString
Documentation
Arguments
| :: ByteString | Pattern |
| -> ByteString | Replacement |
| -> ByteString | Body |
| -> ByteString |
>>>replace "\n" "," "a\nbc\nde"
"a,bc,de"