@@ -445,7 +445,7 @@ reverse = rev Empty
445 where rev a Empty = a
445 where rev a Empty = a
446 rev a (Chunk t ts) = rev (Chunk (T.reverse t) a) ts
446 rev a (Chunk t ts) = rev (Chunk (T.reverse t) a) ts
448−-- | /O(m)*O(n)/ Replace every occurrence of one substring with another.
448+-- | /O(m+n)/ Replace every occurrence of one substring with another.
449replace :: Text -- ^ Text to search for
449replace :: Text -- ^ Text to search for
450 -> Text -- ^ Replacement text
450 -> Text -- ^ Replacement text
451 -> Text -- ^ Input text
451 -> Text -- ^ Input text