Webrexp
Description
Generic module for using Webrexp as a user.
- evalWebRexp :: String -> IO Bool
- evalWebRexpDepthFirst :: String -> IO Bool
- parseWebRexp :: String -> Maybe WebRexp
- evalParsedWebRexp :: WebRexp -> IO Bool
- data Conf = Conf {}
- defaultConf :: Conf
- evalWebRexpWithConf :: Conf -> IO Bool
Default evaluation
evalWebRexp :: String -> IO BoolSource
Simple evaluation function, evaluation is the breadth first type.
parseWebRexp :: String -> Maybe WebRexpSource
Prepare a webrexp. This function is useful if the expression has to be applied many times.
evalParsedWebRexp :: WebRexp -> IO BoolSource
Evaluation for pre-parsed webrexp. Best method if a webrexp has to be evaluated many times.
Crawling configuration
evalWebRexpWithConf :: Conf -> IO BoolSource