packages feed

hsdev 0.1.2.2 → 0.1.2.3

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hsdev.cabal view
@@ -2,7 +2,7 @@ --  see http://haskell.org/cabal/users-guide/
 
 name:                hsdev
-version:             0.1.2.2
+version:             0.1.2.3
 synopsis:            Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.
 description:
   Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references, hayoo search etc.
src/Text/Format.hs view
@@ -43,7 +43,7 @@ infixr 1 %~
 
 (%~) :: Hole a => String -> a -> Either String String
-fmt %~ hargs = case fmt =~ "\\$({([a-zA-Z]+)})?" of
+fmt %~ hargs = case fmt =~ "\\$(\\{([a-zA-Z]+)\\})?" of
 	(pre, "", "", []) -> Right pre
 	(pre, _, post, []) -> Right $ pre ++ post
 	(pre, _, post, gs) -> do