Data.Text.BoyerMoore.Replacer
replaceSingleLimited Source #
Arguments
Matches the needles
Replacement string
Haystack
Maximum number of code units in the returned text
Replace all occurrences matched by the Boyer-Moore automaton with the given replacement text in some haystack. Performs case-sensitive replacement.