regex-0.6.0.0: Toolkit for regex-base
Text.RE.Edit
data LineNo Source
Instances
data Edits m re s Source
Constructors
data Edit m s Source
data LineEdit s Source
applyEdits :: (IsRegex re s, Monad m, Functor m) => LineNo -> Edits m re s -> s -> m s Source
applyEdit :: (IsRegex re s, Monad m, Functor m) => (s -> s) -> LineNo -> re -> Edit m s -> s -> m (Maybe s) Source
applyLineEdit :: Monoid s => (s -> s) -> LineEdit s -> Maybe s Source