regex-0.0.0.2: A Regular Expression Toolkit for regex-base

Safe HaskellNone
LanguageHaskell2010

Text.RE.Tools.Grep

Documentation

grep :: IsRegex re ByteString => re -> FilePath -> IO () Source

grepLines :: IsRegex re ByteString => re -> FilePath -> IO [Line] Source

type GrepScript re s t = [(re, LineNo -> Matches s -> Maybe t)] Source

grepScript :: IsRegex re s => GrepScript re s t -> [s] -> [t] Source