[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36
John Goerzen
jgoerzen at complete.org
Fri Apr 23 14:59:43 UTC 2010
The following commit has been merged in the master branch:
commit 08c4d13e7d01af2ba6b1b1acf61d569d37b80b49
Author: John Goerzen <jgoerzen at complete.org>
Date: Thu Jul 21 22:52:06 2005 +0100
Fix an odd pattern in the regexp
diff --git a/MissingH/Str.hs b/MissingH/Str.hs
index 20205c4..c5f3e2f 100644
--- a/MissingH/Str.hs
+++ b/MissingH/Str.hs
@@ -91,7 +91,7 @@ subRe :: Regex -- ^ Search pattern
-> String -- ^ Output string
subRe _ "" _ = ""
subRe regexp inp repl =
- let bre = mkRegex "\\\\(\\\\||[0-9]+)"
+ let bre = mkRegex "\\\\(\\\\|[0-9]+)"
lookup _ [] _ = []
lookup [] _ _ = []
lookup match repl groups =
--
haskell-testpack
More information about the Pkg-haskell-commits
mailing list