summaryrefslogtreecommitdiff
path: root/lib/Hakyll/Core/Util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Hakyll/Core/Util')
-rw-r--r--lib/Hakyll/Core/Util/String.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hakyll/Core/Util/String.hs b/lib/Hakyll/Core/Util/String.hs
index 23bdd39..f848369 100644
--- a/lib/Hakyll/Core/Util/String.hs
+++ b/lib/Hakyll/Core/Util/String.hs
@@ -27,7 +27,7 @@ trim = reverse . trim' . reverse . trim'
--------------------------------------------------------------------------------
-- | A simple (but inefficient) regex replace funcion
replaceAll :: String -- ^ Pattern
- -> (String -> String) -- ^ Replacement (called on capture)
+ -> (String -> String) -- ^ Replacement (called on match)
-> String -- ^ Source string
-> String -- ^ Result
replaceAll pattern f source = replaceAll' source