Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- replaceSingleLimited :: CaseSensitivity -> Automaton -> Text -> Text -> CodeUnitIndex -> Maybe Text
Documentation
:: CaseSensitivity | In case of |
-> Automaton | Matches the needles |
-> Text | Replacement string |
-> Text | Haystack |
-> CodeUnitIndex | Maximum number of code units in the returned text |
-> Maybe Text |
Replace all occurrences matched by the Boyer-Moore automaton with the given replacement text in some haystack.