diff options
Diffstat (limited to 'src/Lib.hs')
-rw-r--r-- | src/Lib.hs | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -4,11 +4,9 @@ module Lib import Text.Regex.TDFA -someFunc :: IO () -someFunc - | rex == True = putStrLn "Match!!" - | otherwise = putStrLn "No match" - +import Plugin -rex :: Bool -rex = "75ac7b18a009ffe7a77a17a61d95c01395f36b44" =~ "^[0-9a-f]{40}$" +someFunc :: IO () +someFunc = do + let Just plugin = realMatchPlugin "75ac7b18a009ffe7a77a17a61d95c01395f36b44" + putStrLn $ performPlugin plugin |