lambdabot-reference-plugins 5.1.0.1 → 5.1.0.4
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
lambdabot-reference-plugins.cabal view
@@ -1,5 +1,5 @@ name: lambdabot-reference-plugins-version: 5.1.0.1+version: 5.1.0.4 license: GPL license-file: LICENSE@@ -34,7 +34,7 @@ build-type: Simple cabal-version: >= 1.8-tested-with: GHC == 7.8.4, GHC == 7.10.3+tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.1 source-repository head type: git
src/Lambdabot/Plugin/Reference/Url.hs view
@@ -119,7 +119,7 @@ ignoredUrlSuffixes :: [String] ignoredUrlSuffixes = [".", ",", ";", ")", "\"", "\1", "\n"] --- | Searches a string for an embeddded URL and returns it.+-- | Searches a string for an embedded URL and returns it. containsUrl :: String -> Maybe String containsUrl text = do mr <- matchM begreg text