match

Match :: Pat -> Body -> [Dec] -> Match
template-haskell Language.Haskell.TH.Syntax, template-haskell Language.Haskell.TH
> case e of { pat -> body
data Match
template-haskell Language.Haskell.TH.Syntax, template-haskell Language.Haskell.TH
match :: PatQ -> BodyQ -> [DecQ] -> MatchQ
template-haskell Language.Haskell.TH.Lib, template-haskell Language.Haskell.TH
Use with caseE
match :: Graph gr => Node -> gr a b -> Decomp gr a b
fgl Data.Graph.Inductive.Graph
match :: RegexContext regex source target => regex -> source -> target
regex-base Text.Regex.Base.RegexLike
matchAll :: RegexLike regex source => regex -> source -> [MatchArray]
regex-base Text.Regex.Base.RegexLike
matchAllText :: RegexLike regex source => regex -> source -> [MatchText source]
regex-base Text.Regex.Base.RegexLike
matchAny :: Graph gr => gr a b -> GDecomp gr a b
fgl Data.Graph.Inductive.Graph
matchAnyM :: GraphM m gr => m (gr a b) -> m (GDecomp gr a b)
fgl Data.Graph.Inductive.Monad
type MatchArray = Array Int (MatchOffset, MatchLength)
regex-base Text.Regex.Base.RegexLike
0 based array, with 0th index indicating the full match. If the full match location is not available, represent as (0,0).
matchCount :: RegexLike regex source => regex -> source -> Int
regex-base Text.Regex.Base.RegexLike
type MatchLength = Int
regex-base Text.Regex.Base.RegexLike, regex-posix Text.Regex.Posix.String, regex-posix Text.Regex.Posix.Sequence, regex-posix Text.Regex.Posix.ByteString, regex-posix Text.Regex.Posix.ByteString.Lazy
non-negative length of a match
matchM :: (RegexContext regex source target, Monad m) => regex -> source -> m target
regex-base Text.Regex.Base.RegexLike
matchM :: GraphM m gr => Node -> m (gr a b) -> m (Decomp gr a b)
fgl Data.Graph.Inductive.Monad
type MatchOffset = Int
regex-base Text.Regex.Base.RegexLike, regex-posix Text.Regex.Posix.String, regex-posix Text.Regex.Posix.Sequence, regex-posix Text.Regex.Posix.ByteString, regex-posix Text.Regex.Posix.ByteString.Lazy
0 based index from start of source, or (-1) for unused
matchOnce :: RegexLike regex source => regex -> source -> Maybe MatchArray
regex-base Text.Regex.Base.RegexLike
matchOnceText :: RegexLike regex source => regex -> source -> Maybe (source, MatchText source, source)
regex-base Text.Regex.Base.RegexLike
type MatchQ = Q Match
template-haskell Language.Haskell.TH.Lib, template-haskell Language.Haskell.TH
matchRegex :: Regex -> String -> Maybe [String]
regex-compat Text.Regex
Match a regular expression against a string
matchRegexAll :: Regex -> String -> Maybe (String, String, String, [String])
regex-compat Text.Regex
Match a regular expression against a string, returning more information about the match.

Show more results