Safe Haskell | None |
---|
- mkTmpFile :: Int -> String -> Int -> String
- simpleFollowRef :: (String -> Bool) -> (String -> Bool) -> String -> Bool
- simpleFollowRef' :: [String] -> [String] -> String -> Bool
- match :: String -> String -> Bool
- sed :: (String -> String) -> String -> String -> String
- split :: String -> String -> (String, String)
- tokenize :: String -> String -> [String]
- parseRE :: String -> Regex
Documentation
simpleFollowRef :: (String -> Bool) -> (String -> Bool) -> String -> BoolSource
Simple predicate genertor for filtering of URIs If the first predicate (isAllowed) holds and the second (isDenied) does not hold the predicate holds. This can be used for constructing simple URL filters
simpleFollowRef' :: [String] -> [String] -> String -> BoolSource
A convenient function, that takes two lists of strings in regexp syntax, The first list are the patterns for the allowed strings, the second one for the patterns to deny the string. Two regular expressions are build from these lists of strings, and the string to be tested is matched against both regexes