Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
A GMatchInfo is an opaque struct used to return information about matches.
- newtype MatchInfo = MatchInfo (ForeignPtr MatchInfo)
- noMatchInfo :: Maybe MatchInfo
- matchInfoExpandReferences :: MonadIO m => MatchInfo -> Text -> m Text
- matchInfoFetch :: MonadIO m => MatchInfo -> Int32 -> m Text
- matchInfoFetchAll :: MonadIO m => MatchInfo -> m [Text]
- matchInfoFetchNamed :: MonadIO m => MatchInfo -> Text -> m Text
- matchInfoFetchNamedPos :: MonadIO m => MatchInfo -> Text -> m (Bool, Int32, Int32)
- matchInfoFetchPos :: MonadIO m => MatchInfo -> Int32 -> m (Bool, Int32, Int32)
- matchInfoFree :: MonadIO m => MatchInfo -> m ()
- matchInfoGetMatchCount :: MonadIO m => MatchInfo -> m Int32
- matchInfoGetRegex :: MonadIO m => MatchInfo -> m Regex
- matchInfoGetString :: MonadIO m => MatchInfo -> m Text
- matchInfoIsPartialMatch :: MonadIO m => MatchInfo -> m Bool
- matchInfoMatches :: MonadIO m => MatchInfo -> m Bool
- matchInfoNext :: MonadIO m => MatchInfo -> m ()
- matchInfoRef :: MonadIO m => MatchInfo -> m MatchInfo
- matchInfoUnref :: MonadIO m => MatchInfo -> m ()
Exported types
Methods
matchInfoExpandReferences
matchInfoFetch
matchInfoFetchAll
matchInfoFetchAll :: MonadIO m => MatchInfo -> m [Text] Source
matchInfoFetchNamed
matchInfoFetchNamedPos
matchInfoFetchPos
matchInfoFree
matchInfoFree :: MonadIO m => MatchInfo -> m () Source
matchInfoGetMatchCount
matchInfoGetMatchCount :: MonadIO m => MatchInfo -> m Int32 Source
matchInfoGetRegex
matchInfoGetRegex :: MonadIO m => MatchInfo -> m Regex Source
matchInfoGetString
matchInfoGetString :: MonadIO m => MatchInfo -> m Text Source
matchInfoIsPartialMatch
matchInfoIsPartialMatch :: MonadIO m => MatchInfo -> m Bool Source
matchInfoMatches
matchInfoMatches :: MonadIO m => MatchInfo -> m Bool Source
matchInfoNext
matchInfoNext :: MonadIO m => MatchInfo -> m () Source
matchInfoRef
matchInfoRef :: MonadIO m => MatchInfo -> m MatchInfo Source
matchInfoUnref
matchInfoUnref :: MonadIO m => MatchInfo -> m () Source