#if __GLASGOW_HASKELL__ >= 800
#else
#endif
module Text.RE.ZeInternals.SearchReplace.TDFA.ByteString
(
ed
, edMS
, edMI
, edBS
, edBI
, edMultilineSensitive
, edMultilineInsensitive
, edBlockSensitive
, edBlockInsensitive
, ed_
) where
import qualified Data.ByteString.Char8 as B
import Language.Haskell.TH
import Language.Haskell.TH.Quote
import Text.RE.ZeInternals.TDFA
import Text.RE.ZeInternals.SearchReplace.TDFAEdPrime
import Text.RE.REOptions
import Text.RE.ZeInternals.Types.SearchReplace
ed
, edMS
, edMI
, edBS
, edBI
, edMultilineSensitive
, edMultilineInsensitive
, edBlockSensitive
, edBlockInsensitive
, ed_ :: QuasiQuoter
ed = ed' sr_cast $ Just minBound
edMS = edMultilineSensitive
edMI = edMultilineInsensitive
edBS = edBlockSensitive
edBI = edBlockInsensitive
edMultilineSensitive = ed' sr_cast $ Just MultilineSensitive
edMultilineInsensitive = ed' sr_cast $ Just MultilineInsensitive
edBlockSensitive = ed' sr_cast $ Just BlockSensitive
edBlockInsensitive = ed' sr_cast $ Just BlockInsensitive
ed_ = ed' fn_cast Nothing
sr_cast :: Q Exp
sr_cast = [|\x -> x :: SearchReplace RE B.ByteString|]
fn_cast :: Q Exp
fn_cast = [|\x -> x :: SimpleREOptions -> SearchReplace RE B.ByteString|]