summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hakyll.cabal2
-rw-r--r--src/Hakyll/Core/Identifier/Pattern.hs2
-rw-r--r--src/Hakyll/Core/Util/String.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/hakyll.cabal b/hakyll.cabal
index 961f607..3674ebf 100644
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -76,7 +76,7 @@ Library
parsec >= 3.0 && < 3.2,
process >= 1.0 && < 1.2,
regex-base >= 0.93 && < 0.94,
- regex-pcre >= 0.93 && < 0.95,
+ regex-tdfa >= 1.1 && < 1.2,
tagsoup >= 0.12.6 && < 0.13,
time >= 1.1 && < 1.5,
unix >= 2.4 && < 2.6
diff --git a/src/Hakyll/Core/Identifier/Pattern.hs b/src/Hakyll/Core/Identifier/Pattern.hs
index 8263f29..e770d13 100644
--- a/src/Hakyll/Core/Identifier/Pattern.hs
+++ b/src/Hakyll/Core/Identifier/Pattern.hs
@@ -57,7 +57,7 @@ import Data.Maybe (isJust, fromMaybe)
import Data.Monoid (Monoid, mempty, mappend)
import GHC.Exts (IsString, fromString)
-import Text.Regex.PCRE ((=~~))
+import Text.Regex.TDFA ((=~~))
import Hakyll.Core.Identifier
diff --git a/src/Hakyll/Core/Util/String.hs b/src/Hakyll/Core/Util/String.hs
index 7f75a36..514dd14 100644
--- a/src/Hakyll/Core/Util/String.hs
+++ b/src/Hakyll/Core/Util/String.hs
@@ -9,7 +9,7 @@ module Hakyll.Core.Util.String
import Data.Char (isSpace)
import Data.Maybe (listToMaybe)
-import Text.Regex.PCRE ((=~~))
+import Text.Regex.TDFA ((=~~))
-- | Trim a string (drop spaces, tabs and newlines at both sides).
--