9 lines
166 B
Haskell
9 lines
166 B
Haskell
module Regex where
|
|
import Data.List
|
|
|
|
regexIn :: String -> String -> Bool
|
|
regexIn = isInfixOf
|
|
|
|
regexList :: String -> [String] -> Bool
|
|
regexList x = any (isInfixOf x)
|