diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Lib.hs | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -2,5 +2,13 @@ module Lib ( someFunc ) where +import Text.Regex.TDFA + someFunc :: IO () -someFunc = putStrLn "someFunc" +someFunc + | rex == True = putStrLn "Match!!" + | otherwise = putStrLn "No match" + + +rex :: Bool +rex = "75ac7b18a009ffe7a77a17a61d95c01395f36b44" =~ "^[0-9a-f]{5,40}$" |