MissingH API ManualContentsIndex
MissingH.Regex.Pesco
Description
Documentation for this module can be found in the doc directory in the MissingH distribution. |
Synopsis
class Regex rho where
match :: rho -> String -> Maybe Match
data Match = Match {
m_before :: String
m_match :: String
m_after :: String
m_submatches :: [String]
}
class Subst pi
(=~) :: Regex rho => String -> rho -> Bool
(~=) :: Regex rho => rho -> String -> Bool
($~) :: Regex rho => String -> rho -> [Match]
(~$) :: Regex rho => rho -> String -> [Match]
(//~) :: (Regex rho, Subst pi) => String -> rho -> pi
(~//) :: (Regex rho, Subst pi) => rho -> String -> pi
(/~) :: (Regex rho, Subst pi) => String -> rho -> pi
(~/) :: (Regex rho, Subst pi) => rho -> String -> pi
data CRegex
data Rexopt
= Nocase
| Linematch
cregex :: [Rexopt] -> String -> CRegex
subst :: Regex rho => rho -> [Repl] -> String -> String
subst1 :: Regex rho => rho -> [Repl] -> String -> String
Produced by Haddock version 0.6